licanhua / wdio-winappdriver-service

A WebdriverIO service to start & stop WinAppDriver
MIT License
2 stars 1 forks source link

Doesnt work with "wdio/local-runner" version 7.0.0 and higher. #3

Open Kravch773 opened 3 years ago

Kravch773 commented 3 years ago

When I am trying to start test with local-runner version 7.0.0 or higher have this error.

ERROR @wdio/runner: Error: Invalid or unsupported WebDriver capabilities found ("app"). Ensure to only use valid W3C WebDriver capabilities (see https://w3c.github.io/webdriver/#capabilities). [0-0] at Object.startWebDriverSession (D:\winappdriver-test\node_modules\webdriver\build\utils.js:38:19) [0-0] at Function.newSession (D:\winappdriver-test\node_modules\webdriver\build\index.js:58:59) [0-0] at Object.remote (D:\winappdriver-test\node_modules\webdriverio\build\index.js:67:43) [0-0] at async Runner._startSession (D:\winappdriver-test\node_modules\@wdio\runner\build\index.js:216:56) [0-0] at async Runner._initSession (D:\winappdriver-test\node_modules\@wdio\runner\build\index.js:172:25) [0-0] at async Runner.run (D:\winappdriver-test\node_modules\@wdio\runner\build\index.js:87:19)