-
-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chromedriver.exe installed by this module is not found by check in selenium-webdriver on Windows #90
Comments
You should be able to get the path to the binary using the exported |
I don't see the .exe anywhere on the download. I'm using it with nightwatch and it works fine on a mac: "selenium" : {
"start_process" : true,
"server_path" : "./node_modules/selenium-server-standalone-jar/jar/selenium-server-standalone-3.7.1.jar",
"log_path" : "",
"host" : "127.0.0.1",
"port" : 4444,
"cli_args" : {
"webdriver.chrome.driver" : "./node_modules/chromedriver/bin/chromedriver",
"webdriver.ie.driver" : ""
}
} Based on this repo, what would you advice to get it to work on windows? |
@quantuminformation looking at the |
Ah makes sense, thx. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
The check in selenium-webdriver on the win32 platform is that the executable
chromedriver.exe
is on the path - https://github.com/SeleniumHQ/selenium/blob/master/javascript/node/selenium-webdriver/chrome.js#L189 - this module doesn't achieve this - instead what is put on the path is the driverchromedriver.cmd
and a shell scriptchromedriver
. Instead,chromedriver.exe
is installed at the deeply nested path$node_modules\chromedriver\lib\chromedriver
where it is very unlikely to be on the system path. This makes the node-chromedriver unusable for one of its main purposes, to automatically install chromedriver in such a way that the selenium-webdriver wrapper picks it up.The text was updated successfully, but these errors were encountered: