Open reallymello opened 3 months ago
This seems to be a chromedriver
issue, so it might help to raise it directly on their issue tracker with minimal reproducible steps.
Also, I'd suggest sharing a Selenium example snippet with them for opening a new tab instead of a Nightwatch one: https://www.selenium.dev/documentation/webdriver/interactions/windows/#create-new-window-or-new-tab-and-switch
Description of the bug/issue
When I run my test suite using
and I open a new tab in my test using
browser.window.open('tab')
I expect a new tab to open, but instead I receive errorSteps to reproduce
Run
npx nightwatch
with your nightwatch.conf.js using the chrome incognito argsSample test
Command to run
Verbose Output
Nightwatch Configuration
Nightwatch.js Version
3.6.3
Node Version
21.6.2
Browser
Chrome 126.0.6478.61
Operating System
Windows 11
Additional Information
browser.window.open('window');
appears to work fine,browser.window.open('tab');
does not and it only seems to occur under incognito mode operation