Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 98807

Switching b/w the Tabs in Android(Chrome) in crossbrowsertesting platform using Appium/Selenium

$
0
0

I am working on crossbrowsertesting platform in Android Chrome and facing a challenge in which I need to click on a link that opens up in new tab. I need to switch to that new tab and get its URL. Problem is I am unable to switch to newly opened tab and get its URL.          

Method used - When using driver.switchTo().window(child_window) I am getting below error -

org.openqa.selenium.InvalidArgumentException: invalid argument: 'name' must be a string.

But the same is working fine in Windows based chrome (not Android chrome browser).

Platform Information :

crossbrowsertesting
"browserName", "Chrome"
"deviceName", "Galaxy S9"
"platformVersion", "9.0"
"platformName", "Android"
"deviceOrientation", "portrait"


Viewing all articles
Browse latest Browse all 98807


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>