Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User defined Javascript inside CasperJS script #35

Open
hrhthegreat opened this issue Feb 20, 2017 · 2 comments
Open

User defined Javascript inside CasperJS script #35

hrhthegreat opened this issue Feb 20, 2017 · 2 comments

Comments

@hrhthegreat
Copy link

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

@alwex
Copy link
Owner

alwex commented Feb 20, 2017

Hello,
I have published v1.3.0 that come with this feature, I hope it will serve you well

@hrhthegreat
Copy link
Author

Oh, Thanks so much. ^_^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants