title: java.lang.IllegalStateException: The driver executable does not exist: /usr/local/bin/geckodriver
body: <p>I am getting following error when I am trying to execute my automated test cases via Jenkins.                </p>
  
  <pre><code>Server Using: Centos 7
  </code></pre>
  
  <blockquote>
    <p>java.lang.IllegalStateException: The driver executable does not exist: /usr/local/bin/geckodriver</p>
  </blockquote>
  
  <p>While checking the server I found geckodriver and chromedriver already exist on the path "/usr/local/bin/" but I still don't know why Jenkins is throwing these errors. </p>
  
  <p>I also check the access and privileges for geckodriver and chromedriver both are set to 777. Both geckodriver and chromedriver are downloaded/installed correctly.</p>