mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #32488 from swrobel/patch-4
Only disable headless chrome gpu on Windows
This commit is contained in:
commit
601e31b362
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ module ActionDispatch
|
|||
def headless_chrome_browser_options
|
||||
options = Selenium::WebDriver::Chrome::Options.new
|
||||
options.args << "--headless"
|
||||
options.args << "--disable-gpu"
|
||||
options.args << "--disable-gpu" if Gem.win_platform?
|
||||
|
||||
options
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue