Open GCuser99 opened 1 year ago
I can confirm all
The Chrome and Edge WebDriver teams seem to be VERY SLOW fixing bugs. Here is a work-around until the bug is fixed:
'In Edge/Chrome, creating new windowType:=svbaTab while using incognito mode will throw an error
'instead of this:
'driver.Windows.SwitchToNew windowType:=svbaTab 'error happens here
'use this:
driver.ExecuteScript "window.open('', '_blank')" 'creates the new tab
driver.Windows.SwitchToByUrl("about:blank") 'switches to new tab
I confirm that your workaround works on my system too
Steps to reproduce:
Above results in "Failed to open new tab - no browser is open".
It doesn't happen with Edge - only Chrome.
Look similar to this bug report - I will need to report same to the Chrome Driver team...
EDIT: I submitted bug report here
EDIT: As of March, 2023, the same issue is happening for EdgeDriver as well. See bug report here.