-
Notifications
You must be signed in to change notification settings - Fork 696
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
Selenium 3 support #1502
Comments
So, geckodriver is shipped as a single Rust binary. It would be easy enough to download the release tarball from Github and extract it to |
Hello @fowlslegs, I was thinking about taking a shot at this, unless you're close to a PR? If not, it seems like we'd need to:
|
Dang, sorry, I worked on this in the afternoon. I have a branch here |
You don't need to check if the tarball has already been downloaded or extracted to Another thing is instead of hardcoding Will try to take a look at the tests stuff Monday. |
I think you mean changed_when: false since it's still possible for the task
to fail.
Am 06.02.2017 00:51 schrieb "Noah Vesely" <[email protected]>:
… You don't need to check if the tarball has already been downloaded or
extracted to /usr/local/bin because the get_url and unarchive Ansible
modules implicitly do that for you (i.e., they are idempotent). Of course,
the implementation of the idempotence isn't perfect. E.g., if the version
of geckodriver is changed and you re-provision neither your code, nor the
unarchive module, will install the new version. To get around this try
calling geckodriver --version with failed_when: false, register the
result, and re-installing if 'version not in result.stdout' (where version
is the version variable--see below).
Another thing is instead of hardcoding v0.14.0 in the tasklist file,
you'll want to assign it a {{ variable }} the role defaults.
Will try to take a look at the tests stuff Monday.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1502 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AD0DAJkgINQ1WXTWkG8DNFpvNMlEyHb9ks5rZmBkgaJpZM4LRHqP>
.
|
Actually, you want |
So there are the Ansible tweaks mentioned above. @redshiftzero, are the |
|
closed by #4347 |
Currently we are pinning Selenium 2.53.6 (and consequently Firefox 46.0.1) in order to avoid migrating to Selenium 3, which depends on https://github.com/mozilla/geckodriver. Since Geckodriver is not in the Ubuntu repositories, https://www.npmjs.com/package/geckodriver might be the easiest way to install it--since that way we will not have to manage updating the version number as we would if we installed from the tarballs https://github.com/mozilla/geckodriver/releases.
The text was updated successfully, but these errors were encountered: