Skip to content Skip to sidebar Skip to footer

Variety Of Issues Testing Android Webview Using Appium

I have a hybrid app that is primarily just a webview. Here is the code for the basic test: @BeforeClass public static void setupAppium() throws MalformedURLException { Desi

Solution 1:

With new UIautomator you don't need to switch your driver to webview. It has built in capabilities to identify the elements inside webView.

Please update your Android SDK once.

Elements inside WebView will be visible in UIAutomator for Android Version 6.0+ versions. However, once you automate the script for Android 6.0+ device, you can use the same script for Android version below 6.0.

And also you can see the elements inside webView on Android 6.0+ devices using UIAutomator.

For more information refer this link

Post a Comment for "Variety Of Issues Testing Android Webview Using Appium"