You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.
The phantom.run("h1"... code example in README.js uses phantom.run and phantom.addCookie methods. First one is a custom phridge method, second is a native PhantomJS method, so these two phantom objects must be different. Since both objects are unfortunately named the same, it It is not immediately obvious that they are, in fact, very different, and when does the switch from one to another occur, so it is relatively easy to call phantom.openPage inside phantom.run callback and wonder why it doesn't work.
The README notes that "phantom-object provided by phridge is completely different to the phantom-object inside PhantomJS", but it is unclear how to tell these two objects apart in the API reference. Which phantom is returned by phridge.spawn()? Which page is returned by phantom.createPage()?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The
phantom.run("h1"...
code example in README.js usesphantom.run
andphantom.addCookie
methods. First one is a custom phridge method, second is a native PhantomJS method, so these twophantom
objects must be different. Since both objects are unfortunately named the same, it It is not immediately obvious that they are, in fact, very different, and when does the switch from one to another occur, so it is relatively easy to callphantom.openPage
insidephantom.run
callback and wonder why it doesn't work.The README notes that "phantom-object provided by phridge is completely different to the phantom-object inside PhantomJS", but it is unclear how to tell these two objects apart in the API reference. Which
phantom
is returned byphridge.spawn()
? Whichpage
is returned byphantom.createPage()
?The text was updated successfully, but these errors were encountered: