Skip to content

Commit 204c40b

Browse files
committed
Set SE_BROWSER_VERSION
We need to tell the Selenium Browser Manager to download that version
1 parent a96c367 commit 204c40b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/solidus_dev_support/rspec/capybara.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
# Set Chrome version you want to use
99
CAPYBARA_JAVASCRIPT_DRIVER_VERSION = ENV.fetch("CAPYBARA_JAVASCRIPT_DRIVER_VERSION", "133")
10+
# Make sure Selenium downloads this version of Chrome
11+
ENV["SE_BROWSER_VERSION"] = CAPYBARA_JAVASCRIPT_DRIVER_VERSION
1012

1113
Capybara.javascript_driver = ENV.fetch("CAPYBARA_JAVASCRIPT_DRIVER", "solidus_chrome_headless").to_sym
1214
Capybara.default_max_wait_time = 10

0 commit comments

Comments
 (0)