title: unable to connect to chromedriver http://127.0.0.1:46050 (Selenium::WebDriver::Error::WebDriverError)
body: <p>I get this error when I run my cucumber tests:</p>
  
  <p>"*<em>Unable to either launch or connect to Chrome. Please check that ChromeDriver is up-to-date. Using Chrome binary at: /opt/google/chrome/google-chrome (Selenium::WebDriver::Error::UnknownError)
  *</em>"</p>
  
  <p>I downloaded the chromdriver, unzip it, copy it to the path (/opt/google/chrome/google-chrome ) and sudo chmod +x /opt/google/chrome/google-chrome. </p>
  
  <p>which google-chrome :         /usr/bin/google-chrome</p>
  
  <p>which chromedriver  :  /usr/share/ruby-rvm/gems/ruby-1.9.2-p318/bin/chromedriver</p>
  
  <p>capybara (1.1.2)</p>
  
  <p>cucumber (0.9.4)</p>
  
  <p>cucumber-rails (0.3.2)</p>
  
  <p>selenium-webdriver (2.20.0)</p>
  
  <p>I searched my error but none of the answers worked for me!
  When I run my test I do not see chrome starts!</p>
  
  <p>I really dont know what is wrong! I tried two different versions of chromedriver!</p>
  
  <p>Jenkins should run/executes my tests in CI.The tests work when you run them but not when Jenkins runs them? I could run them by another user and then I installed jenkins and I get this error. I get the same error when I run my tests in terminal at terminal as well.Did you read <a href="https://wiki.jenkins-ci.org/display/JENKINS/My+software+builds+on+my+computer+but+not+on+Jenkins" rel="nofollow">https://wiki.jenkins-ci.org/display/JENKINS/My+software+builds+on+my+computer+but+not+on+Jenkins</a> ? I couldnt find much about my problem here. xvfb: I installed the plugin in the jenkins but in the build environment if I click "run xvfb before the build and shut it down after", I get this error: "FATAL: null java.lang.NullPointerException"</p>