"WebDriver:NewSession" closes open auto-complete popups
Categories
(Remote Protocol :: Marionette, defect)
Tracking
(Not tracked)
People
(Reporter: kilimra, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0
Steps to reproduce:
When you create a new session (WebDriver:NewSession), even if you do nothing, when you close the session (WebDriver:DeleteSession), it will cause the firefox interface to lose focus.
For example, the address bar menu that is being displayed will disappear.
https://i.imgur.com/ot0K3rP.png
For example, the selected characters in the search box will lose their selection status
https://i.imgur.com/adral6Z.png
But it does not interfere with the focus of the web page
https://i.imgur.com/GaZ9pmK.png
Sorry, I am using a translation tool to post this report and it may not accurately describe the problem.
For this reason, I only use version 87 of firefox.
https://bugzilla.mozilla.org/show_bug.cgi?id=1716780
Actual results:
Expected results:
Marionette should completely avoid interfering with the firefox interface.
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::Address Bar' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Updated•3 years ago
|
Updated•3 years ago
|
Comment 2•3 years ago
|
||
First thank you for the report, which is kinda uncommon. Nevertheless I can see the closing of the auto-complete list when starting a new WebDriver session. The line that is causing it is:
We currently explicitly focus the current tab (web content) to ensure that the first element (per defined tab order) within this tab has the focus. The patch for that landed via bug 1328676. And a valid use case can be found at: https://github.com/mozilla/geckodriver/issues/394.
As such we are not going to revert this change, given that it would affect a lot of users who make use of Marionette / geckodriver in the proposed way. Sorry, but as given this is a wontfix.
Updated•1 year ago
|
Description
•