-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Context
This repo has been tested on MacOS. I'm now testing it on Windows 11 and there's an issue launching the remote WebDriver session on port :4444
. TBD whether this is config-related, local-machine-related, and/or a bug in any of the underlying software. This issue is to track the diagnostics and intended to help find and document how to get the tests to run on Windows 11 (and 10 if practical).
Platform is: win32
2025-07-23T12:54:39.669Z INFO @wdio/cli:launcher: Run onWorkerStart hook
2025-07-23T12:54:39.671Z INFO @wdio/local-runner: Start worker 0-0 with arg: run wdio.conf.js
[0-0] 2025-07-23T12:54:41.537Z INFO @wdio/local-runner: Run worker command: run
[0-0] tauri-driver ready
[0-0] RUNNING in Windows - file:///C:/Users/julia/Documents/GitHub/tauri-e2e-example/e2e/test/specs/example.e2e.js
[0-0] 2025-07-23T12:54:41.934Z INFO webdriver: Initiate new session using the WebDriver protocol
[0-0] 2025-07-23T12:54:41.935Z INFO @wdio/utils: Connecting to existing driver at http://localhost:4444/
[0-0] 2025-07-23T12:54:41.977Z INFO webdriver: [POST] http://localhost:4444/session
[0-0] 2025-07-23T12:54:42.077Z ERROR webdriver: WebDriverError: session not created: No matching capabilities found when running "http://localhost:4444/session" with method "POST" and args "{"capabilities":{"alwaysMatch":{"platformName":"Windows","tauri:options":{"application":"../src-tauri/target/debug/webdriver-example.exe"}},"firstMatch":[{}]}}"
[0-0] 2025-07-23T12:54:42.077Z ERROR webdriver: session not created: WebDriverError: session not created: No matching capabilities found when running "http://localhost:4444/session" with method "POST" and args "{"capabilities":{"alwaysMatch":{"platformName":"Windows","tauri:options":{"application":"../src-tauri/target/debug/webdriver-example.exe"}},"firstMatch":[{}]}}"
[0-0] at FetchRequest._request (file:///C:/Users/julia/Documents/GitHub/tauri-e2e-example/e2e/node_modules/.pnpm/webdriver@9.16.2/node_modules/webdriver/build/node.js:1963:19)
[0-0] at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
[0-0] at async startWebDriverSession (file:///C:/Users/julia/Documents/GitHub/tauri-e2e-example/e2e/node_modules/.pnpm/webdriver@9.16.2/node_modules/webdriver/build/node.js:1059:16)
[0-0] at async _WebDriver.newSession (file:///C:/Users/julia/Documents/GitHub/tauri-e2e-example/e2e/node_modules/.pnpm/webdriver@9.16.2/node_modules/webdriver/build/node.js:1497:41)
[0-0] at async remote (C:\Users\julia\Documents\GitHub\tauri-e2e-example\e2e\node_modules\.pnpm\webdriverio@9.16.2\node_modules\webdriverio\build\node.js:8776:20)
[0-0] at async Runner._startSession (file:///C:/Users/julia/Documents/GitHub/tauri-e2e-example/e2e/node_modules/.pnpm/@wdio+runner@9.16.2_expect-_e5319c70411789e7211b2d2ae6c09936/node_modules/@wdio/runner/build/index.js:822:23)
[0-0] at async Runner._initSession (file:///C:/Users/julia/Documents/GitHub/tauri-e2e-example/e2e/node_modules/.pnpm/@wdio+runner@9.16.2_expect-_e5319c70411789e7211b2d2ae6c09936/node_modules/@wdio/runner/build/index.js:796:22)
[0-0] at async Runner.run (file:///C:/Users/julia/Documents/GitHub/tauri-e2e-example/e2e/node_modules/.pnpm/@wdio+runner@9.16.2_expect-_e5319c70411789e7211b2d2ae6c09936/node_modules/@wdio/runner/build/index.js:703:16)
[0-0] 2025-07-23T12:54:42.207Z ERROR @wdio/runner: Error: WebDriverError: session not created: No matching capabilities found when running "http://localhost:4444/session" with method "POST" and args "{"capabilities":{"alwaysMatch":{"platformName":"Windows","tauri:options":{"application":"../src-tauri/target/debug/webdriver-example.exe"}},"firstMatch":[{}]}}"
[0-0] at startWebDriverSession (file:///C:/Users/julia/Documents/GitHub/tauri-e2e-example/e2e/node_modules/.pnpm/webdriver@9.16.2/node_modules/webdriver/build/node.js:1063:11)
[0-0] at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
[0-0] at async _WebDriver.newSession (file:///C:/Users/julia/Documents/GitHub/tauri-e2e-example/e2e/node_modules/.pnpm/webdriver@9.16.2/node_modules/webdriver/build/node.js:1497:41)
[0-0] at async remote (C:\Users\julia\Documents\GitHub\tauri-e2e-example\e2e\node_modules\.pnpm\webdriverio@9.16.2\node_modules\webdriverio\build\node.js:8776:20)
[0-0] at async Runner._startSession (file:///C:/Users/julia/Documents/GitHub/tauri-e2e-example/e2e/node_modules/.pnpm/@wdio+runner@9.16.2_expect-_e5319c70411789e7211b2d2ae6c09936/node_modules/@wdio/runner/build/index.js:822:23)
[0-0] at async Runner._initSession (file:///C:/Users/julia/Documents/GitHub/tauri-e2e-example/e2e/node_modules/.pnpm/@wdio+runner@9.16.2_expect-_e5319c70411789e7211b2d2ae6c09936/node_modules/@wdio/runner/build/index.js:796:22)
[0-0] at async Runner.run (file:///C:/Users/julia/Documents/GitHub/tauri-e2e-example/e2e/node_modules/.pnpm/@wdio+runner@9.16.2_expect-_e5319c70411789e7211b2d2ae6c09936/node_modules/@wdio/runner/build/index.js:703:16)
[0-0] 2025-07-23T12:54:42.331Z INFO @wdio/local-runner: Received SIGINT, giving process 5000ms to shutdown gracefully
[0-0] FAILED in Windows - file:///C:/Users/julia/Documents/GitHub/tauri-e2e-example/e2e/test/specs/example.e2e.js
2025-07-23T12:54:42.387Z INFO @wdio/cli:launcher: Run onWorkerEnd hook
"spec" Reporter:
------------------------------------------------------------------
[Windows #0-0] Running: on Windows
[Windows #0-0]
[Windows #0-0] ✖ Failed to create a session:
[Windows #0-0] WebDriverError: session not created: No matching capabilities found when running "http://localhost:4444/session" with method "POST" and args "{"capabilities":{"alwaysMatch":{"platformName":"Windows","tauri:options":{"application":"../src-tauri/target/debug/webdriver-example.exe"}},"firstMatch":[{}]}}"
[Windows #0-0]
Spec Files: 0 passed, 1 failed, 1 total (100% completed) in 00:00:20
2025-07-23T12:54:42.390Z INFO @wdio/local-runner: Shutting down spawned worker
2025-07-23T12:54:42.644Z INFO @wdio/local-runner: Waiting for 0 to shut down gracefully
2025-07-23T12:54:42.645Z INFO @wdio/local-runner: shutting down
2025-07-23T12:54:42.645Z INFO @wdio/cli:launcher: Run onComplete hook
ELIFECYCLE Test failed. See above for more details.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working