Merge pull request #2600 from ClearlyClaire/glitch-soc/fixes/failures

Configure selenium to use Chrome version 120 (#29038)
pull/2601/head
Claire 2024-02-01 11:30:34 +01:00 committed by GitHub
commit 626ff320cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ Capybara.register_driver :headless_chrome do |app|
options = Selenium::WebDriver::Chrome::Options.new options = Selenium::WebDriver::Chrome::Options.new
options.add_argument '--headless=new' options.add_argument '--headless=new'
options.add_argument '--window-size=1680,1050' options.add_argument '--window-size=1680,1050'
options.browser_version = '120'
Capybara::Selenium::Driver.new( Capybara::Selenium::Driver.new(
app, app,