File tree Expand file tree Collapse file tree 3 files changed +13
-11
lines changed Expand file tree Collapse file tree 3 files changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -5,5 +5,5 @@ ruby '2.7.4'
5
5
gem 'capybara' , '~> 3.35'
6
6
gem 'rspec' , '~> 3.10'
7
7
gem 'capybara-screenshot' , '~> 1.0'
8
- gem 'selenium-webdriver' , '~> 3.142 '
9
- gem 'webdrivers' , '~> 4.6 '
8
+ gem 'selenium-webdriver' , '~> 4.0 '
9
+ gem 'webdrivers' , '~> 5.0 '
Original file line number Diff line number Diff line change 15
15
capybara-screenshot (1.0.25 )
16
16
capybara (>= 1.0 , < 4 )
17
17
launchy
18
- childprocess (3.0 .0 )
18
+ childprocess (4.1 .0 )
19
19
diff-lcs (1.4.4 )
20
20
launchy (2.5.0 )
21
21
addressable (~> 2.7 )
31
31
rack-test (1.1.0 )
32
32
rack (>= 1.0 , < 3 )
33
33
regexp_parser (2.1.1 )
34
+ rexml (3.2.5 )
34
35
rspec (3.10.0 )
35
36
rspec-core (~> 3.10.0 )
36
37
rspec-expectations (~> 3.10.0 )
45
46
rspec-support (~> 3.10.0 )
46
47
rspec-support (3.10.3 )
47
48
rubyzip (2.3.2 )
48
- selenium-webdriver (3.142.7 )
49
- childprocess (>= 0.5 , < 4.0 )
49
+ selenium-webdriver (4.0.3 )
50
+ childprocess (>= 0.5 , < 5.0 )
51
+ rexml (~> 3.2 , >= 3.2.5 )
50
52
rubyzip (>= 1.2.2 )
51
- webdrivers (4.7 .0 )
53
+ webdrivers (5.0 .0 )
52
54
nokogiri (~> 1.6 )
53
55
rubyzip (>= 1.3.0 )
54
- selenium-webdriver (> 3.141 , < 5 .0 )
56
+ selenium-webdriver (~> 4 .0 )
55
57
xpath (3.2.0 )
56
58
nokogiri (~> 1.8 )
57
59
@@ -62,8 +64,8 @@ DEPENDENCIES
62
64
capybara (~> 3.35 )
63
65
capybara-screenshot (~> 1.0 )
64
66
rspec (~> 3.10 )
65
- selenium-webdriver (~> 3.142 )
66
- webdrivers (~> 4.6 )
67
+ selenium-webdriver (~> 4.0 )
68
+ webdrivers (~> 5.0 )
67
69
68
70
RUBY VERSION
69
71
ruby 2.7.4p191
Original file line number Diff line number Diff line change 42
42
options = { }
43
43
options [ :log_level ] = :trace if capture_js_log
44
44
45
- browser_options = ::Selenium ::WebDriver ::Firefox ::Options . new ( options )
45
+ browser_options = ::Selenium ::WebDriver ::Firefox ::Options . new ( ** options )
46
46
browser_options . headless! if ENV . fetch ( 'HEADLESS' , 'true' ) . casecmp? ( 'true' )
47
47
browser_options . add_preference ( 'devtools.console.stdout.content' , true ) if capture_js_log
48
48
49
49
Capybara ::Selenium ::Driver . new (
50
50
app ,
51
51
browser : :firefox ,
52
- options : browser_options ,
52
+ capabilities : browser_options ,
53
53
clear_local_storage : true ,
54
54
clear_session_storage : true ,
55
55
)
You can’t perform that action at this time.
0 commit comments