Skip to content

Commit f524b24

Browse files
committed
Use headless=new
1 parent 75387b5 commit f524b24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
Capybara.server = :webrick
3131

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

3535
Capybara::Selenium::Driver.new(app, browser: :chrome, options: options)
3636
end

0 commit comments

Comments
 (0)