appium-inspector 1.22版本在启动时报错:Invalid or unsupported WebDriver capabilities found ("deviceName", "appPackage", "appActivity").

appium-inspector 1.22版本在启动时报错如下:

 

 

Invalid or unsupported WebDriver capabilities found ("deviceName", "appPackage", "appActivity"). 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 "browserstack:options". Please reach out to to your vendor support team if you have further questions.

 

新版本的appium-inspector填写时需要在key的前面加上appium:

如图:

 

posted @ 2022-04-20 17:07  繁枝  阅读(2319)  评论(0)    收藏  举报