I’m trying to change the name of the device socket my tests use to change the context of the driver to a Webview. I found that the socket name my device uses is “chrome_devtools_remote” by using the following command:
<code>adb shell cat /proc/net/unix</code>
So I changed device socket name in my capabilites to match what I found.
<code>desiredCapabilities.setCapability(AndroidMobileCapabilityType.ANDROID_DEVICE_SOCKET, "chrome_devtools_remote");</code>
When I go to change the context, however, the chromedriver is still using “webview_devtools_remote” as the socket name. Is there anything else I need to do to change the socket name? What am I missing?
I can view the Webview on my Chrome browser via chrome://inspect.
chromedriver version 2.45.615355
Appium version 1.10.0
Android version 9