I have a script that is trying to sue Switch To Web View. The script runs fine until it reaches the Switch To Web View step then nothing happens. The script will just keep running without error but never moves past the Switch To Web View. Script Below. Any ideas on how to get this to work?
Running on Google Pixel XL 8.0 and Moto Z2 Force 7.1
Mobile.waitForElementPresent(findTestObject(‘android.widget.TextView1 - You are protected’), 0)
Mobile.pressHome()
Mobile.switchToWebView()
WebUI.openBrowser(‘https://portal.mysecure-portal.jp/’)
Have posted 3 other questions to this forum with no responses. Can someone please help with this