appium-inspector
appium-inspector copied to clipboard
cannot parse capability: chromeOptions from unknown error: unrecognized chrome option: androidDeviceSerial
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"
Hey @jaxonister, can you please show us the Appium logs and screenshots of running the session with the error?
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.
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.
The fix should be included in appium-uiautomator2-driver
v2.0.4 or later. Note that it is only compatible with Appium 2.