title: How to implement chromedriver in selenium in Linux platform
body: <p>Can somebody tell me how to use the Chrome driver in Selenium for Linux platform?</p>
  
  <p>I have my chrome driver location at <code>username/home/chromedriver</code>.</p>
  
  <p>My code is:</p>
  
  <pre><code>System.setProperty("webdriver.chrome.driver", "/home/username/ChromeDriver/chrome‌​driver");
  driver = new ChromeDriver();
  driver.get("facebook.com");
  </code></pre>
  
  <p>The error I am getting is:</p>
  
  <blockquote>
    <p><code>org.openqa.selenium.WebDriverException</code>: Unable to either launch or
    connect to Chrome. Please check that ChromeDriver is up-to-date.</p>
    
    <p>Using Chrome binary at: <code>/opt/google/chrome/google-chrome</code></p>
    
    <p>(WARNING: The server did not provide any stacktrace information)</p>
  </blockquote>