appium-desktop
appium-desktop copied to clipboard
Can't switch to webview in inspector: Can't parse goog:chromeOptions: Unrecognized chrome option: androidDeviceSerial
Appium or Appium Desktop?
You are reporting an issue at the Appium Desktop repository. Appium Desktop is a wrapper around Appium. If you are having trouble running tests, it is much more likely that the problem you are encountering is not a problem with Appium Desktop but with Appium. For that reason we require you to have tried your testcase with Appium CLI before reporting issues. Check the checkbox below to confirm that you have proven your issue does not reproduce on Appium itself:
- [X] I have verified that my issue does not occur with Appium and should be investigated as an Appium Desktop issue
The problem
I'm currently testing an hybrid application. I'm facing a problem where, when I scroll down too much, I can't use inspector to inspect elements (WebDriverIO doesn't find them either).
What i'm trying to do right now is to get all context inside the inspector and I get: NATIVE_APP, WEBVIEW_my_app.
Then, I try to set the context to the WebView context and I get this error:
InvalidArgumentError: invalid argument: cannot parse capability: goog:chromeOptions from invalid argument: unrecognized chrome option: androidDeviceSerial
I'm launching inspector session with capabilities androidPlatform & chromedriverExecutable.
Any idea on why i can't switch to the webview on Appium Inspector?
Environment
- I am running Appium Desktop version 1.18.3. (with option: --no-sandbox)
- I am on (pick one):
- [ ] Mac
- [ ] Windows
- [X] Linux (Debian Buster)
- I am using chromedriver 87.0.4280.20
Could you share the log? I wonder the message was from chromedriver.
Similiar issue! The desiredCapabilities object was not valid for the following reason(s): 'chromeOptions' must be of type object
Could you share the log? I wonder the message was from chromedriver.
Were you able to sort it out @kgtrey1? Cheers
I am facing a similar issue: Any help?
An unknown server-side error occurred while processing the command. Original error: invalid argument: cannot parse capability: goog:chromeOptions
from invalid argument: unrecognized chrome option: androidDeviceSerial
@SyedFurqanHaider did you resolve that? any help please
I'm facing the same issues, any news here?
Same issue. Have tried updating chrome on emulator to same as my desktop, have matching emulator. It throws same exception message
An unknown server-side error occurred while processing the command. Original error: invalid argument: cannot parse capability: goog:chromeOptions from invalid argument: unrecognized chrome option: androidDeviceSerial
I'm having the same issue: An unknown server-side error occurred while processing the command. Original error: invalid argument: cannot parse capability: goog:chromeOptions from invalid argument: unrecognized chrome option: androidDeviceSerial