Skip to content
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

@wakaleo - I am running serenity scripts from linux and it failing with below error #2375

Closed
globalworming opened this issue Jan 26, 2021 · 7 comments

Comments

@globalworming
Copy link
Collaborator

@wakaleo - I am running serenity scripts from linux and it failing with below error

Caused by: java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.chrome.driver system property; for more information, see https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver. The latest version can be downloaded from http://chromedriver.storage.googleapis.com/index.html

But same this is working fine in windows
could you please help

Originally posted by @krishnapemmaraju in #1984 (comment)

@globalworming
Copy link
Collaborator Author

as long as the chromedriver binary is on your path, there should be no need to set anything.
compare
echo $PATH
with
whereis chromedriver
whats the output?

@krishnapemmaraju
Copy link

krishnapemmaraju commented Jan 26, 2021 via email

@globalworming
Copy link
Collaborator Author

and where is the chromedriver binary located?

@krishnapemmaraju
Copy link

krishnapemmaraju commented Jan 26, 2021 via email

@globalworming
Copy link
Collaborator Author

maybe it isn't executable? chmod +x /usr/bin/chromedriver

@krishnapemmaraju
Copy link

krishnapemmaraju commented Jan 26, 2021 via email

@globalworming
Copy link
Collaborator Author

globalworming commented Jan 26, 2021

then why do you think the chromedriver is in /usr/bin? :) make sure the chromedriver is on the path and executable. or - based on your serenity version - try the auto download https://serenity-bdd.github.io/theserenitybook/latest/serenity-system-properties.html#_webdriver_autodownload

@wakaleo wakaleo closed this as completed Feb 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants