Open
Bug 1777956
Opened 2 years ago
Updated 1 year ago
"WebDriver:NewSession" with "moz:windowless" capability set should switch to initial browser window if one is present
Categories
(Remote Protocol :: Marionette, enhancement, P3)
Tracking
(Not tracked)
NEW
People
(Reporter: whimboo, Unassigned)
Details
In case a new Webdriver session is created while Firefox and at least one browser window is open it should always select a browser window if present. Even if the moz:windowless
capability has been specified.
For now testing code has to find open window handles and specifically set one like:
window = self.marionette.window_handles[0]
self.marionette.switch_to_window(window)
Reporter | ||
Updated•2 years ago
|
Priority: -- → P3
Reporter | ||
Comment 1•2 years ago
|
||
FYI this would need refactoring of the following code:
https://searchfox.org/mozilla-central/rev/9379d512333cb143ed6ee5df5a40274f40d6ce87/remote/marionette/driver.js#430-495
Updated•1 year ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•