php-casperjs
php-casperjs copied to clipboard
User defined Javascript inside CasperJS script
Hello,
As I saw the issue #31 , He requested to inject his own code inside CasperJS script. But the result code was only added one specific feature. Is there any possibility to inject my own Javascript inside? And also define custom variable for output and assign them in JS.
$casper->addToScript(<<<FRAGMENT ... JS code ... FRAGMENT);
Thank you
Hello,
I have published v1.3.0 that come with this feature, I hope it will serve you well
Oh, Thanks so much. ^_^