title: Popup blocking in Google Chrome causing issues with Capybara/Rspec tests
body: <p>I'm writing some automated tests using Capybara/RSpec,  I choose/configure the driver by using this little bit of ruby:</p>
  
  <pre><code>Capybara.register_driver :selenium_chrome do |app|
    Capybara::Selenium::Driver.new(app, :browser =&gt; :chrome)
  end
  </code></pre>
  
  <p>I'm testing whether or not a button I click is opening a popup window and that the window is displaying the content it should.  The issue is that when the test opens the window, the Google Chrome popup blocker blocks it, causing the tests to fail.  Disabling the blocker from the options menu does not work.  Also, I'm afraid that once I run these on the server it will cause the same issue.</p>
  
  <p>Is there a way to disable the popup block for the tests automatically?</p>