title: I can't get selenium-webdriver with chromedriver working on Mac OSX
body: <p>I'm trying to do some functional testing using selenium-webdriver in <strong>Google Chrome</strong> navigator on <strong>Mac OSX</strong>, but I have problems while trying to interact with the navigator.</p>
  
  <p>I've simplified the problem into a similar one: I need to open the Google main page and write something in its input, so I execute this node script:</p>
  
  <pre><code>require('chromedriver');
  
  var webdriver = require('selenium-webdriver'),
      By = webdriver.By,
      until = webdriver.until;
  
  var driver = new webdriver.Builder()
      .forBrowser('chrome')
      .build();
  
  driver.get('http://www.google.com/ncr');
  driver.findElement(By.name('q')).sendKeys('webdriver');
  </code></pre>
  
  <p>The npm dependencies are:</p>
  
  <pre><code>npm install selenium-webdriver chromedriver
  </code></pre>
  
  <p>The results of the execution are: the Google Chrome browser opens (so the chromedriver <em>seems to work</em>), but the input field isn't written, because <strong>the get call never finishes executing</strong>. So the browser can load a given web page but after that I can't interact with it.</p>
  
  <p>Of course, I've also tried to download and install manually the <a href="https://chromedriver.storage.googleapis.com/index.html" rel="nofollow noreferrer">chromedriver</a>, locating the binary file in <code>/usr/local/bin</code> and <code>chmod +x</code> it, but the result is the same.</p>
  
  <p>However, if I try the same in Safari (removing the first <code>require</code> line and using <code>'safari'</code> for browser instead of <code>'chrome'</code>) it works! But I need to test it in Google Chrome!</p>
  
  <p>Also, I have tryied the same example using Java and Google Chrome, and it works! It's a problem related with the selenium webdriver Javascript implementation? Or its integration with chromedriver...?</p>