Closed
Description
Current state
Given you use CodeceptJS 3.7 and WebDriver 8+
When you run npx codeceptjs run
Then you will see an errror
'Failed to execute WebDriver Bidi command "sessionSubscribe" as no Bidi session was established. Make sure you enable it by setting "webSocketUrl: true" in your capabilities and verify that your environment and browser supports it'
Target state
The Bidi error does not occur.
Info
- Tests are still functional. It seems like there is no direct negative functional impact other than the frightening STDOUT.
- I created a proof of concept how to reproduce it:
- Clone my fork of "codeceptjs-examples" from https://github.com/ngraf/codeceptjs-examples/tree/bugfix/failed-to-execute-webdriver-bidi-command
- Checkout branch "bugfix/failed-to-execute-webdriver-bidi-command"
- Install dependencies
npm i
- Run examples tests with WebDriver
npx codeceptjs run -c codecept.webdriver.conf.js
-> You will then see the errors:
Metadata
Metadata
Assignees
Labels
No labels