-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
Description
Have you read the Contributing Guidelines on issues?
- I have read the Contributing Guidelines on issues.
WebdriverIO Version
9.2.2
Node.js Version
20
Mode
Standalone Mode
Which capabilities are you using?
{
browserName: 'chrome',
'wdio:enforceWebDriverClassic': true,
acceptInsecureCerts: true,
'goog:chromeOptions': {
args: [
'--disable-backgrounding-occluded-windows',
'--window-size=1980,1080',
'--lang=fr_FR.UTF-8',
'--disable-search-engine-choice-screen',
],
},
},What happened?
An error is displayed at startup of tests
What is your expected behavior?
No response
How to reproduce the bug.
Just launch a test.
Concern this below code:

Relevant log output
[0-0] 2024-10-28T10:40:03.961Z ERROR @wdio/runner: TypeError: this[#browser].on is not a function
[0-0] at new ContextManager (C:\2-gitlab\insight\quality\end-to-end-tests-wdio\node_modules\webdriverio\build\index.js:2995:19)
[0-0] at getContextManager (C:\2-gitlab\insight\quality\end-to-end-tests-wdio\node_modules\webdriverio\build\index.js:2983:22)
[0-0] at remote (C:\2-gitlab\insight\quality\end-to-end-tests-wdio\node_modules\webdriverio\build\index.js:7472:5)
[0-0] at async Runner._startSession (file:///C:/2-gitlab/insight/quality/end-to-end-tests-wdio/node_modules/@wdio/runner/build/index.js:781:23)
[0-0] at async Runner.run (file:///C:/2-gitlab/insight/quality/end-to-end-tests-wdio/node_modules/@wdio/runner/build/index.js:642:20)
### Code of Conduct
- [X] I agree to follow this project's Code of Conduct
### Is there an existing issue for this?
- [X] I have searched the existing issues
Reactions are currently unavailable