-
Notifications
You must be signed in to change notification settings - Fork 112
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
Calling phantomJS function #253
Comments
Why? What are you trying to do? For a page load, you can just repond to |
i am trying to do page automation. i am trying to achieve something like this
is it possible ? my code is
but i got this error page is not defined in the phantomJs example i must declare the page with if i put that, i get following error
|
btw i find another solution. separate between mocha and phantomjs instance but i just want to know if is it possible to do like my comment description upper. thanks |
This is not the project you want. It is not for externally automating page crawls - it is for extracting mocha test results on a single page. Please use mocha-casperjs or (Nightmare.js)[https://github.com/segmentio/nightmare]. I'd recommend the later as it uses the more modern Electron, as phantomjs is far behind, based on QT5 and without maintainers. |
Hi, how can i call phantomJS function with mocha-phantomJs ?
let say i want to call
page.open(url, function (status) {
//Page is loaded!
phantom.exit();
});
how i do that in mocha-phantomjs ?
i read there is a callPhantom(), but how i use that ? thanks
The text was updated successfully, but these errors were encountered: