GoogleChromeLabs / GoogleChromeLabs/chrome-for-testing
browser.getWindowHandles() not returning all the tabs if opened by Extension
- Dominant language
- JavaScript
- Stars
- 1.3k
- Forks
- 159
- Avg merge
- 18h 37m
- Merged PRs (30d)
- 3
Description
I'm testing a Chrome Extension using WDIO and Mocha Framework, which opens a new tab when installed and then opens an offscreen tab (hidden). From Chrome Version 137+, the browser.getWindowHandles() is not returning these 2 tabs in the response, hampering my automation.
Contributor guide
Research direction
Reproduce the Chrome Version 137+ behavior with the described Chrome Extension, WDIO, and Mocha setup, checking the result of browser.getWindowHandles() after the extension opens both tabs. Done means the returned handles include the extension-opened tab and the hidden offscreen tab, with the behavior verified against the reported setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- testing-qa, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100