1
0
mirror of https://github.com/funamitech/mastodon synced 2025-01-19 08:13:24 +09:00

Configure selenium to use Chrome version 120 (#29038)

This commit is contained in:
Matt Jankowski 2024-02-01 04:46:31 -05:00 committed by Claire
parent 7bb5f6efbc
commit f4416e6b3a

View File

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