The driver is not executable: /opt/eeoautomation/current/driverlib/chromedriver

58 views
Skip to first unread message

sivachit...@gmail.com

unread,
Dec 5, 2014, 5:59:13 PM12/5/14
to seleniu...@googlegroups.com
I am trying to run test on chrome browser in ubuntu 12.04.


i have specfied the path to the driverlib correctly
 System.setProperty("webdriver.chrome.driver", chromePath);
driver = new ChromeDriver();


I am getting the following error

java.lang.IllegalStateException: The driver is not executable: /opt/eeoautomation/current/driverlib/chromedriver
        at com.google.common.base.Preconditions.checkState(Preconditions.java:177)
        at org.openqa.selenium.remote.service.DriverService.checkExecutable(DriverService.java:121)
        at org.openqa.selenium.remote.service.DriverService.findExecutable(DriverService.java:112)
        at org.openqa.selenium.chrome.ChromeDriverService.createDefaultService(ChromeDriverService.java:89)
        at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:117)
        at com.etrade.eeo.automation.TestNGDriver.setUp(TestNGDriver.java:288)
        at com.etrade.eeo.CommandLineTestExecutor.run(CommandLineTestExecutor.java:436)
        at com.etrade.eeo.CommandLineTestExecutor.main(CommandLineTestExecutor.java:52)



I am using the chromedriver for linux 64 - http://chromedriver.storage.googleapis.com/index.html?path=2.4/












Krishnan Mahadevan

unread,
Dec 5, 2014, 11:40:11 PM12/5/14
to Selenium Users

Please check if the binary has executable permissions set on it.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/e2bc78c5-e9bf-4443-aa43-9a31492d2373%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages