akash mahato
akash mahato

Reputation: 57

Android 6.x Webview undefined when switching context

I am trying to automate mobile app in android (6.0.1) using appium. i am getting error as

No such context found.

While switching from Native to Webview,I am getting Webview as

WEBVIEW_undefined

Please help.Thanks in advance

Upvotes: 0

Views: 1278

Answers (1)

Vinod
Vinod

Reputation: 976

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.

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

Upvotes: 1

Related Questions