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 in mdk behat #58

Open
danpoltawski opened this issue Oct 30, 2013 · 2 comments
Open

Support phantomjs in mdk behat #58

danpoltawski opened this issue Oct 30, 2013 · 2 comments

Comments

@danpoltawski
Copy link
Contributor

One day soon[1] we'll get the full Moodle suite passing using http://phantomjs.org and I imagine soon thereafter many of us will start using phantomjs for day to day behat development. It will hopefully be a bit faster, and also a bit less annoying (no java, don't have to worry about accidentally closing windows, fits better into cli toolchain etc).

It would be good if mdk behat supported phantomjs as well as selenium for that time.

Actually the process is fairly similar, the only difference is to download phantomjs and start that rather than selenium. e.g.

phantomjs --webdriver=4444

[1] https://tracker.moodle.org/browse/MDL-41030

@danpoltawski
Copy link
Contributor Author

Please make it automatically add --tags '@_only_local&&@_switch_window' too (and output a notice that its doing it when using phantom)

@damyon
Copy link
Contributor

damyon commented Dec 12, 2013

+1

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