Open dipakkumar1225 opened 12 months ago
@dipakkumar1225 Does an app designed as a hybrid app, Try switching context directly.
@dipakkumar1225 Does an app designed as a hybrid app, Try switching context directly.
@ashwithpoojary98
In application, some parts of the modules are in Webview.
Please explain "Try switching context directly"
facing the same issue, I'm able to see context list by using ((SupportsContextSwitching) world.driver).getContextHandles() but unable to switch to it via: ((SupportsContextSwitching) world.driver).context("WEBVIEW_xxxxx") Update: I found it should be related to Android System WebView version. I'm able to switch context via 122.0.6261.64, but failed with version 122.0.6261.119 Uninstall Android System WebView updates from Settings works for me.
Do we have any updates here? Im having the same with - Appium v2.5.2 uiautomator2@3.0.7 Chrome/123.0.6312.99 Appium_logs.txt
Description
Now able to switch to WebView.
Environment
Code To Reproduce Issue
here I am able to get webview context name strWebContextName WEBVIEW_com.xxxxx.xxxxxxx
Exception Stacktraces
Link To Appium Logs
https://gist.github.com/dipakkumar1225/e83e2a3c0b2c63a10db070fb489141ff#file-webcontext