jenkins server enter image description here
I am working on MacBook. Our Jenkins server is running in linux server when I running tests via testing.xml file all test classes are running but when I run Jenkins build its not getting run Error is saying driver is not executable
I have created maven project in Jenkins and give repo url of this project from bitbucket
anyone help me to sort out this issue ?
1 Answer 1
You should use ChromeDriver for Linux: Downloads - WebDriver for Chrome.
and then make the ChromeDriver executable using
chmod 750 chromedriver
or
chmod 777 chromedriver
For more see: What Does chmod 777 Mean.
-
I did this too not workingJustin Lambert– Justin Lambert2020年11月02日 12:09:56 +00:00Commented Nov 2, 2020 at 12:09
-
are you using chromedriver for linux : chromedriver.storage.googleapis.com/87.0.4280.20/…PDHide– PDHide2020年11月02日 12:11:41 +00:00Commented Nov 2, 2020 at 12:11
-
chromedriver.chromium.org/downloadsPDHide– PDHide2020年11月02日 12:12:07 +00:00Commented Nov 2, 2020 at 12:12
-
Yes I am using chrome driver linuxJustin Lambert– Justin Lambert2020年11月03日 09:33:36 +00:00Commented Nov 3, 2020 at 9:33
-
please add your code also , how you are starting chrome driverPDHide– PDHide2020年11月03日 10:14:34 +00:00Commented Nov 3, 2020 at 10:14