mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-25 20:45:03 +01:00
Configure selenium to use Chrome version 120 (#29038)
This commit is contained in:
parent
812a131423
commit
8b7b0ee598
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user