title: Errors getting Selenium running on rails 4 with Safari, chrome or Firefox
body: <p>I am trying to get selenium (thru Capybara) working on a rails 4, ruby 2.0.0 environment using rspec.  I have tried using every browser by setting config settings in my spec_helper.rb.  Example with Safari;</p>
  
  <pre><code>Capybara.register_driver :selenium do |app|
    Capybara::Selenium::Driver.new(app, :browser =&gt; :safari)
  end
  </code></pre>
  
  <p>For all browsers, I have made sure that the appropriate driver (e.g. safaridriver) is in <code>$PATH</code>.
  test example (obviously no Javascript/AJAX here, just trying to get it to work);</p>
  
  <pre><code>it 'should post to the publication endpoint', :vcr do
    Capybara.current_driver = :selenium
    visit root_path
    Capybara.use_default_driver
  end
  </code></pre>
  
  <p>on <code>visit root_path</code>, i get the following error; </p>
  
  <pre><code>Selenium::WebDriver::Error::TimeOutError:
         timed out waiting for Safari to respond
  </code></pre>
  
  <p>Environment</p>
  
  <pre><code>rails (4.0.0.beta1)
  ruby 2.0.0p0
  webmock (1.9.3)
  capybara (2.0.2)
  selenium-webdriver (2.31.0)
  </code></pre>
  
  <p>I have been trying to get this to work for two days now so any and all help is greatly appreciated!</p>