Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f524b24

Browse files
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

Lines changed: 1 addition & 1 deletion
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=newdisable-gpu])
3434

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

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /