Skip to content

Commit

Permalink
restore chromedriver 126 in circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
josemigallas committed Oct 10, 2024
1 parent 05562a1 commit e185ba4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ attach-to-workspace: &attach-to-workspace
at: .

system-builder-ruby31: &system-builder-ruby31
image: quay.io/3scale/system-builder:stream8-ruby3.1
image: quay.io/3scale/system-builder:stream8-ruby3.1-chrome126
environment:
BUNDLE_FROZEN: true
BUNDLE_PATH: 'vendor/bundle'
Expand Down
4 changes: 2 additions & 2 deletions features/support/capybara.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@

# Use this driver to debug scenarios locally by using hook @chrome
Capybara.register_driver :chrome do |app|
options = Selenium::WebDriver::Chrome::Options.new(BASE_DRIVER_OPTIONS)
options = Selenium::WebDriver::Options.chrome(**BASE_DRIVER_OPTIONS)

Capybara::Selenium::Driver.new(app, browser: :chrome, options: options)
end

Capybara.register_driver :headless_chrome do |app|
options = Selenium::WebDriver::Chrome::Options.new(**BASE_DRIVER_OPTIONS.merge(
options = Selenium::WebDriver::Options.chrome(**BASE_DRIVER_OPTIONS.merge(
args: [
'--disable-gpu',
'--disable-popup-blocking',
Expand Down

0 comments on commit e185ba4

Please sign in to comment.