appium/appium-inspector

bug: "Invalid or unsupported WebDriver capabilities found ("undefined")" displayed immediately when attempting to connect

Closed this issue · 1 comments

Is this an issue specifically with Appium Inspector?

  • I have verified that my issue does not occur with Appium, and should be investigated as an Appium Inspector issue

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I have a newly installed appium server which works fine with the stock Python test script:
https://appium.io/docs/en/2.2/quickstart/test-py/

Attempting to run the inspector and point it at the server (either via the local server machine or a remote host using the proper IP address) ALWAYS displays this error message when attempting to connect:

"Invalid or unsupported WebDriver capabilities found ("undefined"). Ensure to only use valid W3C WebDriver capabilities (see https://w3c.github.io/webdriver/#capabilities).If you run your tests on a remote vendor, like Sauce Labs or BrowserStack, make sure that you put them into vendor specific capabilities, e.g. "sauce:options" or "bstack:options". Please reach out to to your vendor support team if you have further questions."

Note - this error message is displayed regardless of what actual remote host IP address is specified - even bogus IPs w/out any appium servers running.

Expected Behavior

I assume it is supposed to connect to my appium server, retrieve the current screen and show me something useful.

Operating System

Linux

Appium Inspector Version

2024.6.1

Appium Version

2.10.3

Further Information

No response

Never mind, missed in the documentation where I needed to setup the capabilities