Reputation: 175
Switching to an open tab with Selenium works fine in Chrome 74. However, in 75 I get this message:
org.openqa.selenium.InvalidArgumentException: invalid argument: 'handle' must be a string
Does anyone else encounter this and how can this be solved except for pinning the Chrome version to 74?
Upvotes: 1
Views: 1871
Reputation: 138
I was able to resolve the error by adding the below browserstack specific capability in my tests-
'browserstack.use_w3c' : 'true'
Upvotes: 3