-
Notifications
You must be signed in to change notification settings - Fork 169
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
Add Selenium headless driver #272
Add Selenium headless driver #272
Conversation
Fixes "Selenium [DEPRECATION] :profile is deprecated. Use Selenium::WebDriver::Firefox::Options#profile= instead." warning
Note: The CI failures aren't to do with my code -- looks like there's an issue with dependencies in the CI environment itself. |
@xtrasimplicity Thanks for the contribution! If you have a chance to try addressing the CI issue, please feel free, so I'll try to tackle in a few weeks. |
Thanks, @ronwsmith. I'll take a look and will submit a new PR for the CI issue. |
Scratch that, someone else has come up with a CI fix as part of another PR: #273 :) |
Hi @ronwsmith, any updates on this and #273? Thanks! |
@xtrasimplicity I'm back! Thanks for your contribution and patience. |
Released in v2.2.0 |
Background
The
selenium_billy
driver doesn't appear to support headless mode, and also (though unrelated) throws aSelenium [DEPRECATION] :profile is deprecated. Use Selenium::WebDriver::Firefox::Options#profile= instead.
warning.Summary
I've simply refactored the
selenium_billy
driver so that we're no longer using the deprecated method of setting a profile, and then added aselenium_headless_billy
driver with headless support.