java.lang.IllegalStateException: The driver is not executable: /opt/chromedriver

Stack Overflow | Helping Hands | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    PhantomJS & Chrome driver both not working with linux

    Stack Overflow | 5 months ago | Helping Hands
    java.lang.IllegalStateException: The driver is not executable: /opt/chromedriver
  2. 0

    Chrome Driver 2.18 IllegalStateException

    GitHub | 2 years ago | TheFifthFreedom
    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
  3. 0

    Error in a simple selenium script

    Stack Overflow | 2 years ago
    java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.chrome.driver system property; for more information, see http://code.google.com/p/selenium/wiki/ChromeDriver. The latest version can be downloaded from http://chromedriver.storage.googleapis.com/index.html
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Java Selenium Chromedriver.exe Does not Exist IllegalStateException - JavaHow.net

    javahow.net | 2 years ago
    java.lang.IllegalStateException: The driver executable does not exist: C:\Users\Scott\workspace\Twitch%20Bot%20v2\bin\chromedriver.exe
  6. 0

    Java Selenium Chromedriver.exe Does not Exist IllegalStateException

    Stack Overflow | 2 years ago | FaTal Cubez
    java.lang.IllegalStateException: The driver executable does not exist: C:\Users\Scott\workspace\Twitch%20Bot%20v2\bin\chromedriver.exe
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    The driver is not executable: /opt/chromedriver

    at com.google.common.base.Preconditions.checkState()
  2. Guava
    Preconditions.checkState
    1. com.google.common.base.Preconditions.checkState(Preconditions.java:197)
    1 frame
  3. Selenium
    DriverService.findExecutable
    1. org.openqa.selenium.remote.service.DriverService.checkExecutable(DriverService.java:126)
    2. org.openqa.selenium.remote.service.DriverService.findExecutable(DriverService.java:117)
    2 frames
  4. selenium-chrome-driver
    ChromeDriverService$Builder.findDefaultExecutable
    1. org.openqa.selenium.chrome.ChromeDriverService.access$000(ChromeDriverService.java:32)
    2. org.openqa.selenium.chrome.ChromeDriverService$Builder.findDefaultExecutable(ChromeDriverService.java:118)
    2 frames
  5. Selenium
    DriverService$Builder.build
    1. org.openqa.selenium.remote.service.DriverService$Builder.build(DriverService.java:291)
    1 frame
  6. selenium-chrome-driver
    ChromeDriver.<init>
    1. org.openqa.selenium.chrome.ChromeDriverService.createDefaultService(ChromeDriverService.java:82)
    2. org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:117)
    2 frames
  7. Testcases
    BaseTest.Setup
    1. Testcases.BaseTest.Setup(BaseTest.java:55)
    1 frame
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  9. TestNG
    TestNG.run
    1. org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
    2. org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)
    3. org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
    4. org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
    5. org.testng.SuiteRunner.privateRun(SuiteRunner.java:277)
    6. org.testng.SuiteRunner.run(SuiteRunner.java:240)
    7. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    8. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
    9. org.testng.TestNG.runSuitesSequentially(TestNG.java:1198)
    10. org.testng.TestNG.runSuitesLocally(TestNG.java:1123)
    11. org.testng.TestNG.run(TestNG.java:1031)
    11 frames
  10. org.apache.maven
    TestNGProvider.invoke
    1. org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:77)
    2. org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:110)
    3. org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:106)
    3 frames
  11. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  12. SureFire
    ForkedBooter.main
    1. org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
    2. org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
    3. org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
    4. org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
    5. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
    5 frames