Skip to content

Commit

Permalink
possible selenium fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Judahmeek committed May 13, 2024
1 parent 2778440 commit 9efe604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
Capybara.server = :webrick

Capybara.register_driver :headless_chrome do |app|
options = Selenium::WebDriver::Chrome::Options.new(args: %w[no-sandbox headless disable-gpu])
options = Selenium::WebDriver::Chrome::Options.new(args: %w[no-sandbox headless=new disable-gpu])

Capybara::Selenium::Driver.new(app, browser: :chrome, options: options)
end
Expand Down

0 comments on commit 9efe604

Please sign in to comment.