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

ExecutorWebDriver #12374

Closed
4 of 7 tasks
foolip opened this issue Aug 9, 2018 · 20 comments
Closed
4 of 7 tasks

ExecutorWebDriver #12374

foolip opened this issue Aug 9, 2018 · 20 comments

Comments

@foolip
Copy link
Member

foolip commented Aug 9, 2018

We should stop relying on Selenium for Chrome/Edge/Safari support, and instead use WebDriver directly.

Relying on Selenium adds further levels of indirection (and the potential to abstract away bugs) and makes it harder to use custom WebDriver extensions for testing.

@foolip
Copy link
Member Author

foolip commented Aug 9, 2018

Previous PR at #10197.

@foolip
Copy link
Member Author

foolip commented Aug 13, 2018

New PR at #12380.

@foolip
Copy link
Member Author

foolip commented Sep 25, 2018

Reopening to also track this being the default. @gsnedders what's the plan for that?

@gsnedders
Copy link
Member

I've been trying to get Windows CI up and running again, and got somewhat side-tracked. :)

I think the plan is to just try landing it, at this point?

@gsnedders
Copy link
Member

#13200

@gsnedders
Copy link
Member

So, one the above to-do is done, this leaves just IE and Sauce; I think we should probably just drop support for everything except wdspec tests for IE (cc @jimevans), given almost all will just break horribly, and Sauce we can't do anything about until they support the W3C protocol.

@jimevans
Copy link
Contributor

Let me echo my desire to retain wdspec tests for IE, since the IE driver is still under active development and support (even if the browser isn't), and the test suite is incredibly useful for keeping track of compliance. Anything other than wdspec, I don't much care.

@foolip
Copy link
Member Author

foolip commented Sep 26, 2018

@gsnedders, can I suggest comparing Taskcluster runs before/after the change, finding the commit where this landed in https://staging.wpt.fyi/test-runs?label=taskcluster. Example diff URL:
https://staging.wpt.fyi/results/?product=firefox@59bed3508c&product=firefox@ddb3e30ef4&diff=true

@foolip
Copy link
Member Author

foolip commented Sep 26, 2018

Also, a similar comparison for the Buildbot runs on prod would be good. Although that'll also include test changes as it's not run per push to master.

@foolip
Copy link
Member Author

foolip commented Sep 26, 2018

@foolip
Copy link
Member Author

foolip commented Sep 26, 2018

@gsnedders, Safari 12.0 was just released with macOS 10.14 Mojave, can you check if the accompanying SafariDriver is updated so that we can use ExecutorWebDriver?

@jimevans
Copy link
Contributor

@foolip In my experience, the driver shipped with Safari 12 uses the W3C protocol dialect by default. @burg would be able to say for sure, but modulo bugs in the implementation, it should be usable with any spec-compliant local end implementation.

@foolip
Copy link
Member Author

foolip commented Sep 26, 2018

Excellent! @gsnedders, can you give it a try to enable, and coordinate with @jugglinmike who is trying to set up runs for Safari stable?

@burg
Copy link
Contributor

burg commented Sep 26, 2018

@foolip In my experience, the driver shipped with Safari 12 uses the W3C protocol dialect by default. @burg would be able to say for sure, but modulo bugs in the implementation, it should be usable with any spec-compliant local end implementation.

This is correct. JSONWP has been dropped entirely in safaridriver for Safari Technology Preview.

@gsnedders
Copy link
Member

@jugglinmike do you want to try flipping us over to safari_webdriver for a build or two on wpt.fyi? or should we try (pretty blindly!) to do that upstream?

@foolip
Copy link
Member Author

foolip commented Oct 9, 2018

I've tried enabling safari_webdriver in foolip#5:
https://travis-ci.org/foolip/wpt/jobs/439114299

So at least the infrastructure/ tests work. Also curious to hear how @jugglinmike would like to roll this out. I suspect it depends on the status of Safari 12 runs?

@jugglinmike
Copy link
Contributor

Thanks for the offer, @gsnedders. I would like to take you up on that, but I'm still working through an intermittent error in testing Safari. Resolving that is my top priority, and I hope to have it licked before the end of the week. You can refer to that issue for progress updates.

@mdittmer
Copy link
Contributor

Ping from your friendly neighbourhood ecosystem infra rotation

Any updates on this issue, @gsnedders?

@gsnedders
Copy link
Member

gsnedders commented Dec 17, 2018

  • Edge is mostly waiting for Windows 10 RS5 to rollout to more users (given plenty of people still don't have it)
  • Opera is blocked on OperaDriver working in W3C mode (webdriver/tests/new_session/ totally fails)
  • Chrome on Android is blocked on someone actually having something set up to test it

@foolip
Copy link
Member Author

foolip commented Mar 22, 2019

@gsnedders ExecutorWebDriver has been a thing for a while now. Can you mark the important follow-up as roadmap priority and close this issue?

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

6 participants