driver.switchTo().window not working

Appium Version: Appium v1.14.1
Chromedriver version: chromedriver 76.0.3809.68.exe

Hi,

I’m having issues handling multiple tabs on Google Chrome using an AVD & Appium.

Issue appears to be down to driver.switchTo().window(); functionality in the case that it isn’t switching the window.

Code is in the attached image.
Google is navigated to in the first tab opposed to the expected 2nd tab as can be evidenced by screenshot captured in a latter part of the code.

If you need any further information please let me know.

Try [email protected] - there was known bug in how earlier versions work with newer Chromedrivers

Hi,

Do you have a url for [email protected]?

Earlier versions?
I understand i’m on the latest appium & chromedriver versions?