Skip to content

Commit 9efe604

Browse files
committed
possible selenium fix
1 parent 2778440 commit 9efe604

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
Capybara.server = :webrick
2929

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

3333
Capybara::Selenium::Driver.new(app, browser: :chrome, options: options)
3434
end

0 commit comments

Comments
 (0)