Chrome session not getting started on Windows 11 with latest WDI5. #555
Closed
Vikrant87-lego
started this conversation in
General
Replies: 1 comment 2 replies
-
Have a look at the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,
I have tried creating a new project using the command - npm init wdi5@latest
after installation i tried running the sample tests but getting below mentioned error:
Execution of 1 workers started at 2023-11-08T13:06:42.441Z
[0-0] RUNNING in chrome - file:///C:/Users/User1/Documents/Testing/Webdriverio/webapp/test/e2e/sample.test.js
[0-0] 2023-11-08T13:06:46.019Z ERROR @wdio/runner: Error: spawn UNKNOWN
[0-0] at ChildProcess.spawn (node:internal/child_process:413:11)
[0-0] at Object.spawn (node:child_process:692:9)
[0-0] at startWebDriver (file:///C:/Users/User1/Documents/Testing/Webdriverio/node_modules/@wdio/utils/build/node/startWebDriver.js:57:28)
[0-0] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[0-0] at async WebDriver.newSession (file:///C:/Users/User1/Documents/Testing/Webdriverio/node_modules/webdriver/build/index.js:18:31)
[0-0] at async remote (file:///C:/Users/User1/Documents/Testing/Webdriverio/node_modules/webdriverio/build/index.js:45:22)
[0-0] at async Runner._startSession (file:///C:/Users/User1/Documents/Testing/Webdriverio/node_modules/@wdio/runner/build/index.js:224:29)
[0-0] at async Runner._initSession (file:///C:/Users/User1/Documents/Testing/Webdriverio/node_modules/@wdio/runner/build/index.js:190:25)
[0-0] at async Runner.run (file:///C:/Users/User1/Documents/Testing/Webdriverio/node_modules/@wdio/runner/build/index.js:79:19)
[0-0] FAILED in chrome - file:///C:/Users/User1/Documents/Testing/Webdriverio/webapp/test/e2e/sample.test.js
Spec Files: 0 passed, 1 failed, 1 total (100% completed) in 00:00:03
OS: Windows 11(64 bit)
Node version: 18.6.0
Chrome version: 119.0.6045.106
package.json:
{
"devDependencies": {
"@wdio/cli": "^8.22.0",
"@wdio/local-runner": "^8.22.0",
"@wdio/mocha-framework": "^8.22.0",
"@wdio/spec-reporter": "^8.21.0",
"wdio-ui5-service": "^2.0.2"
},
"scripts": {
"wdi5": "wdio run ./webapp/test/e2e/wdio.conf.js"
}
}
can you please help me understand what's wrong?
Beta Was this translation helpful? Give feedback.
All reactions