Skip to content

Commit

Permalink
Attempt to fix feature specs in CI
Browse files Browse the repository at this point in the history
It looks like we're hitting the same problem described at SeleniumHQ/selenium#13112

Perhaps using '--headless=new' instead of just 'headless' will fix it.
  • Loading branch information
ragesoss committed Jan 2, 2024
1 parent dbd3ada commit 0f62f4a
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 @@ -14,7 +14,7 @@

Capybara.register_driver :selenium do |app|
options = Selenium::WebDriver::Chrome::Options.new(
args: %w[headless no-sandbox disable-gpu --window-size=1200,1200]
args: %w[--headless=new no-sandbox disable-gpu --window-size=1200,1200]
)
Capybara::Selenium::Driver.new(app,
browser: :chrome,
Expand Down

0 comments on commit 0f62f4a

Please sign in to comment.