In the case of hybrid app how to switch context ?

Code Snippet:

Set contextNames = driver.getContextHandles();
driver.context();
Yes, WebView.setWebContentsDebuggingEnabled(true); is needed for webviews to work through UI Automator. This is an Android requirement, not Appium.

Leave a Reply

Your email address will not be published. Required fields are marked *