I have an v1.0.0-RC4 casper version without Casper.getFormValues() useful function and I can't to upgrade casper by some reasons.
Is there any other way to get form fields values?
So, the answer was found: to get a field value, have a look at ClientUtils.getFieldValue()
casper.then(function() {
this.echo(this.evaluate(function() {
return __utils__.getFieldValue('fieldName');
}));
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With