-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
Bug 🐛help wantedIssues that are free to take by anyone interestedIssues that are free to take by anyone interested
Description
Have you read the Contributing Guidelines on issues?
- I have read the Contributing Guidelines on issues.
WebdriverIO Version
8.38.0
Node.js Version
20.12.2
Mode
WDIO Testrunner
Which capabilities are you using?
{
browserName: 'chrome'
}What happened?
I tried to override the chromedriver binary using the CHROMEDRIVER_PATH environment variable,
but webdriverio still downloads a chromedriver binary.
What is your expected behavior?
webdriverio should use the provided chromedriver binary.
How to reproduce the bug.
# set CHROMEDRIVER_PATH to a local path to a chromedriver binary
export CHROMEDRIVER_PATH='/nix/store/9ckzh5q4w60h307yd14fvcawdf3bb0gi-chromedriver-125.0.6422.76/bin/chromedriver'
npm init -y
# create a new default project, leave everything on the default default
wdio run wdio.conf.jsRelevant log output
Execution of 1 workers started at 2024-05-27T09:33:55.975Z
2024-05-27T09:33:55.982Z INFO @wdio/cli:launcher: Run onPrepare hook
2024-05-27T09:33:55.982Z INFO @wdio/utils: Setting up browser driver for: chrome@stable
2024-05-27T09:33:55.986Z INFO @wdio/utils: Setting up browser binaries for: chrome@stable
2024-05-27T09:33:56.077Z INFO webdriver: Downloading Chromedriver v125.0.6422.78
2024-05-27T09:33:56.252Z INFO webdriver: Setting up chrome v125.0.6422.78
2024-05-27T09:33:57.790Z INFO webdriver: Download of Chromedriver v125.0.6422.78 was successful
^C24-05-27T09:33:58.946Z PROGRESS webdriver: Downloading chrome (125.0.6422.78) 12.13%
Ended WebDriver sessions gracefully after a SIGINT signal was received!
2024-05-27T09:33:59.427Z INFO @wdio/local-runner: Shutting down spawned worker
2024-05-27T09:33:59.677Z INFO @wdio/local-runner: Waiting for 0 to shut down gracefully
2024-05-27T09:33:59.678Z INFO @wdio/local-runner: shutting downCode of Conduct
- I agree to follow this project's Code of Conduct
Is there an existing issue for this?
- I have searched the existing issues
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Bug 🐛help wantedIssues that are free to take by anyone interestedIssues that are free to take by anyone interested