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

Support PhantomJS 2.0 #34

Open
otakustay opened this issue May 11, 2015 · 1 comment
Open

Support PhantomJS 2.0 #34

otakustay opened this issue May 11, 2015 · 1 comment

Comments

@otakustay
Copy link

Since PhantomJS 2.0 deprecated the phantom.args property, we should use system.args instead

Sorry for not able to open a pull request currently, we should just change the currentUrl assignment to:

currentUrl = phantom.args ? phantom.args[ 0 ] : require( 'system' ).args[ 1 ],
@gregpabian
Copy link
Collaborator

Thanks for the tip, I'll have a look on that!

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

No branches or pull requests

2 participants