Hi Team
We’re using Microsoft Edge on Android and need to switch the context from the WebView.
Please find the attached Log file for logs.
Facing following Error:
Log.txt (73.7 KB)
In App code it is already set to true:
WebView.setWebContentsDebuggingEnabled(true)
Following are the used capabilities:
{
“platformName”: “Android”,
“appium:platformVersion”: “14”,
“appium:userProfile”: 10,
“appium:autoGrantPermissions”: true,
“appium:chromedriver_autodownload”: true,
“appium:appWaitDuration”: 30000,
“appium:appWaitForLaunch”: false,
“appium:unlockStrategy”: “uiautomator”,
“appium:automationName”: “UIAutomator2”,
“appium:appActivity”: “.MainActivity”,
“appium:appPackage”: “.package”,
“appium:noReset”: true,
“appium:ensureWebviewsHavePages”: true,
“appium:enableWebviewDetailsCollection”: true,
“appium:webviewConnectTimeout”: 20000
}
In Appium Inspector available contexts are shown as following
Native_App
WEBVIEW_chrome
When the is inspected with it shows the following:
Looking forward if any one has faced the same problem and got a solution with context switch in Edge browser

