. casperjs. . , , : .filled-cart
, . . , .
casper.then(function() {
this.fill('form#add-to-cart-form', {
'options[416]': '2884'
});
this.click("button[type=submit]");
});
casper.waitForSelector(".filled-cart");
casper.then(function() {
console.log("Checkout URL: ", this.getCurrentUrl());
});