Skip to content

Commit

Permalink
Update chromeOptions for newer versions of chromedriver
Browse files Browse the repository at this point in the history
  • Loading branch information
microweb10 committed Nov 14, 2019
1 parent 9fd79ce commit cb3a1f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/rails_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

Capybara.register_driver :headless_chrome do |app|
capabilities = Selenium::WebDriver::Remote::Capabilities.chrome(
chromeOptions: {
"goog:chromeOptions" => {
args: %W[headless no-sandbox window-size=1200,600 proxy-server=127.0.0.1:#{Capybara::Webmock.port_number}]
}
)
Expand Down

0 comments on commit cb3a1f2

Please sign in to comment.