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)

Firefox 102
enhancement

Tracking

(Not tracked)

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)
Priority: -- → P3
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.