Skip to content

Commit

Permalink
Fix deprecation warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
jim committed Aug 1, 2023
1 parent d2b24b0 commit f9348e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/application_system_test_case.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
Capybara::Selenium::Driver.new(
app,
browser: :chrome,
capabilities: Selenium::WebDriver::Chrome::Options.new.tap do |opts|
options: Selenium::WebDriver::Chrome::Options.new.tap do |opts|
opts.add_argument "--headless"
opts.add_argument "--no-sandbox"
opts.add_argument "--disable-gpu"
Expand All @@ -39,7 +39,7 @@
app,
browser: :remote,
url: "http://selenium_chrome:4444/wd/hub",
capabilities: Selenium::WebDriver::Chrome::Options.new.tap do |opts|
options: Selenium::WebDriver::Chrome::Options.new.tap do |opts|
opts.add_argument "--headless"
opts.add_argument "--disable-gpu"
opts.add_argument "--window-size=1400x1800"
Expand All @@ -52,7 +52,7 @@
app,
browser: :remote,
url: "http://selenium_chrome:4444/wd/hub",
capabilities: Selenium::WebDriver::Chrome::Options.new.tap do |opts|
options: Selenium::WebDriver::Chrome::Options.new.tap do |opts|
opts.add_argument "--window-size=1400x1800"
end
)
Expand Down

0 comments on commit f9348e6

Please sign in to comment.