Skip to content

Commit

Permalink
Fix for latest chrome in feature specs
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdeyen committed Sep 6, 2024
1 parent e89cee7 commit f64c8a9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions spec/rails_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@
Capybara::Selenium::Driver.load_selenium
browser_options =
::Selenium::WebDriver::Chrome::Options.new.tap do |opts|
opts.args << "--headless"
opts.args << "--window-size=1280,800"
opts.add_argument("--headless")
opts.add_argument("--window-size=1280,800")
opts.add_argument("--disable-search-engine-choice-screen")
end
Capybara::Selenium::Driver.new(
app,
Expand Down

0 comments on commit f64c8a9

Please sign in to comment.