-
Notifications
You must be signed in to change notification settings - Fork 50
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 Firefox via geckodriver #65
Conversation
Thanks a lot, this is great. Just a few comments:
Thanks again! |
I added support for testing chrome on local machines via tox, but didn't attempt to configure Travis to test it yet; I figured that would be a later PR. Do you want a separate PR for each file? The changes to |
Ok I see, no problem. I think it's ok to merge everything at once then. I'd just like to make sure chromedriver is covered for extra peace of mind. From a quick search, it seems it'd be fairly simple to install it on Travis: travis-ci/travis-ci#272 (comment) |
edc5cdb
to
a9285ff
Compare
Hmm, that doesn't seem to have actually used the updated .travis.yml file. Don't have time to follow up on it right now, but I'll look into it soon. |
a9285ff
to
496c8f5
Compare
Not sure if it didn't like where I originally added the comment or it was just a force-push related hiccup, but looks like it worked this time. Let me know if you spot any other problems. |
Excellent, thanks again for your work! |
@jmbowman It looks like there is one failure after the merge. Do you know what that is? |
It looks like the first test that tried to launch the browser failed, but all the later ones succeeded; maybe it just wasn't ready yet? I've seen some other Travis setups put in an explicit wait of 3 seconds to wait for xvfb to finish initializing; I thought the other subsequent setup tasks would take long enough for it to finish, but maybe not. I'll create a separate PR to both add that delay and add some retry logic with a timeout to |
Add support for using needle with recent versions of Firefox via geckodriver:
rect
from the W3C WebDriver spec before falling back to the Seleniumlocation
andsize
calls if necessary (geckodriver doesn't support the latter).This seems like the minimum necessary step towards working, tested geckodriver support, but let me know if you want to split it up further into smaller PRs.