wpt icon indicating copy to clipboard operation
wpt copied to clipboard

WebDriver executor ends each `testdriver` action with the `testharness.js` window selected

Open jonathan-j-lee opened this issue 1 year ago • 1 comments

See #44688 for full background.

The WebDriver implementation of testharness.js must switch to the testharness.js browsing context to run testharness_webdriver_resume.js. In a tabbed browser with popups in the same OS window as the testharness.js context, this will cause the popups to be hidden between test_driver.* calls, which may make some popup visibility interactions untestable.

CC @khushalsagar @jgraham

jonathan-j-lee avatar Mar 15 '24 19:03 jonathan-j-lee

Yes, solving this properly probably requires WebDriver-BiDi support in testdriver, so we can message navigables without actually focusing them.

jgraham avatar Mar 19 '24 14:03 jgraham