-
Notifications
You must be signed in to change notification settings - Fork 29
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
Travis: Make Selenium use Marionette instead of the add-on based driver #489
Conversation
@@ -38,7 +38,7 @@ | |||
"node-ssdp": "^2.7.0", | |||
"path": "^0.12.7", | |||
"raw-body": "^2.1.6", | |||
"selenium-webdriver": "2.53.1", | |||
"selenium-webdriver": "https://github.com/JohanLorenzo/selenium/releases/download/2.54.0-dev/selenium-webdriver-2.54.0-dev.tgz", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wish I could add a comment, but JSON doesn't allow it. This is a workaround until SeleniumHQ/selenium#2137 lands in master and a new version is released on npm (likely 2.54)
capabilities.set('marionette', true); | ||
const driverBuilder = new webdriver.Builder().withCapabilities(capabilities); | ||
|
||
console.log(driverBuilder.getCapabilities()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Remove this line
Build against Firefox 47 is green. So is Firefox 46 (that version supports both Marionette and the add-on driver). r? @npark-mozilla |
looks good to me, hopefully when this is merged, it's still working for me locally as well. r+ |
Actually, I rolled back my rust and ran this, and got following error on the first time I ran it, but the test is consistently passing after that, if this is caused by my setup, please ignore.
|
@npark-mozilla This error should have been worked around by this selenium client. Does the error occur after Edit: I just pushed an unbitrot revision. Nothing related to that particular failure |
Firefox 46 is the first version allowing Selenium to use Marionette
We could merge this, right? EDIT: or right, r+. I think above error was caused by me not running npm install beforehand. |
The current beta version of Firefox break the Selenium tests. This can be reproducible locally. It'll impact our tests once 47 reaches release.
From the Selenium server logs, the installation of the addon in Firefox is not supported anymore. The fix is to make Selenium plug into Marionette server.