```ruby
# Configure Capybara
require 'capybara/poltergeist'
Capybara.configure do |config|
  Capybara.register_driver :poltergeist do |app|
    Capybara::Poltergeist::Driver.new(app, timeout: 120, js_errors: true, phantomjs_options: ['--load-images=no'])
  end
  # config.default_driver = :selenium
  config.default_driver = :poltergeist
  config.javascript_driver = :poltergeist
  Capybara.default_wait_time = 25
end
```

Comment out the Capybara default timeout and just use the Poltergeist one
user
```ruby
# Configure Capybara
require 'capybara/poltergeist'
Capybara.configure do |config|
  # config.default_driver = :selenium
  # Capybara.default_wait_time = 120
  Capybara.register_driver :poltergeist do |app|
    Capybara::Poltergeist::Driver.new(app, timeout: 120, js_errors: true, phantomjs_options: ['--load-images=no'])
  end
  config.default_driver = :poltergeist
  config.javascript_driver = :poltergeist
end
```
assistant