appium-inspector icon indicating copy to clipboard operation
appium-inspector copied to clipboard

cannot parse capability: chromeOptions from unknown error: unrecognized chrome option: androidDeviceSerial

Open jaxonister opened this issue 2 years ago • 2 comments

I use the inspector to debug the webview hybrid application, use "web/hybrid", it prompts "cannot parse capability: chromeOptions from unknown error: unrecognized chrome option: androidDeviceSerial"

jaxonister avatar Jun 15 '22 04:06 jaxonister

Hey @jaxonister, can you please show us the Appium logs and screenshots of running the session with the error?

emaan-c avatar Jun 15 '22 16:06 emaan-c

Hi guys. I encountered this same issue and found it has been solved in Appium 2 (https://github.com/appium/appium/issues/16514) though I haven't tried it out. I noticed this error does not occur if you add the app capability when starting the session. This seems to add androidPackage to the chromeOptions sent when creating the Chromedriver session. You can try it as a workaround @jaxonister.

ra-hdz avatar Jul 18 '22 04:07 ra-hdz

I'm also getting this error. More information you can find here https://discuss.appium.io/t/appium-inspector-windows-call-to-switchcontext-failed/38105.

kabdul-incomm avatar Dec 27 '22 15:12 kabdul-incomm

The fix should be included in appium-uiautomator2-driver v2.0.4 or later. Note that it is only compatible with Appium 2.

eglitise avatar May 26 '23 06:05 eglitise