Chrome session not starting with wdio 8.22.0 #11627
Unanswered
Vikrant87-lego
asked this question in
Q&A
Replies: 2 comments 9 replies
-
It seems the Chromedriver fails to start for unknown reason, can you provide more information about your environment? Maybe provide a reproducible example as Dockerfile? |
Beta Was this translation helpful? Give feedback.
5 replies
-
What happened if you start the Chromedriver ( |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
I have tried to create a new webdriverio project using the command npm init wdio@latest ./
and choose below options:
but when i am trying to run the command npm run wdio i am getting below mentioned error:
Execution of 1 workers started at 2023-11-08T13:33:22.483Z
2023-11-08T13:33:22.741Z INFO @wdio/cli:launcher: Run onPrepare hook
2023-11-08T13:33:22.743Z INFO @wdio/utils: Setting up browser driver for: chrome@stable
2023-11-08T13:33:22.744Z INFO @wdio/utils: Setting up browser binaries for: chrome@stable
2023-11-08T13:33:22.747Z INFO webdriver: Downloading Chromedriver v119.0.6045.124
2023-11-08T13:33:22.899Z WARN webdriver: Chromedriver v119.0.6045.124 don't exist, trying to find known good version...
2023-11-08T13:33:23.017Z INFO webdriver: Download of Chromedriver v119.0.6045.105 was successful
2023-11-08T13:33:23.021Z INFO @wdio/cli:launcher: Run onWorkerStart hook
2023-11-08T13:33:23.023Z INFO @wdio/local-runner: Start worker 0-0 with arg: run,./wdio.conf.js
[0-0] 2023-11-08T13:33:25.182Z INFO @wdio/local-runner: Run worker command: run
[0-0] RUNNING in chrome - file:///C:/Users/User1/Documents/Testing/Webdriverio/test/specs/test.e2e.js
[0-0] 2023-11-08T13:33:25.655Z INFO webdriver: Initiate new session using the WebDriver protocol
[0-0] 2023-11-08T13:33:25.992Z INFO webdriver: Downloading Chromedriver v119.0.6045.124
[0-0] 2023-11-08T13:33:26.157Z WARN webdriver: Chromedriver v119.0.6045.124 don't exist, trying to find known good version...
[0-0] 2023-11-08T13:33:26.172Z INFO webdriver: Download of Chromedriver v119.0.6045.105 was successful
[0-0] 2023-11-08T13:33:26.433Z 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/test/specs/test.e2e.js
2023-11-08T13:33:26.577Z INFO @wdio/cli:launcher: Run onWorkerEnd hook
2023-11-08T13:33:26.578Z INFO @wdio/cli:launcher: Run onComplete hook
Spec Files: 0 passed, 1 failed, 1 total (100% completed) in 00:00:04
2023-11-08T13:33:26.585Z INFO @wdio/local-runner: Shutting down spawned worker
2023-11-08T13:33:26.839Z INFO @wdio/local-runner: Waiting for 0 to shut down gracefully
2023-11-08T13:33:26.840Z INFO @wdio/local-runner: shutting down
Node version: v18.6.0
wdio version : 8.22.0
os: windows 11(64 bit)
Can you please help me understand what is going wrong here?
Beta Was this translation helpful? Give feedback.
All reactions