File tree Expand file tree Collapse file tree 2 files changed +9
-12
lines changed Expand file tree Collapse file tree 2 files changed +9
-12
lines changed Original file line number Diff line number Diff line change 21
21
matrix (0.4.2 )
22
22
mini_mime (1.1.2 )
23
23
mini_portile2 (2.8.1 )
24
- nokogiri (1.13.10 )
24
+ nokogiri (1.14.1 )
25
25
mini_portile2 (~> 2.8.0 )
26
26
racc (~> 1.4 )
27
27
public_suffix (5.0.1 )
28
28
racc (1.6.2 )
29
- rack (3.0.3 )
29
+ rack (3.0.4.1 )
30
30
rack-test (2.0.2 )
31
31
rack (>= 1.3 )
32
- regexp_parser (2.6.1 )
32
+ regexp_parser (2.7.0 )
33
33
rexml (3.2.5 )
34
34
rspec (3.12.0 )
35
35
rspec-core (~> 3.12.0 )
36
36
rspec-expectations (~> 3.12.0 )
37
37
rspec-mocks (~> 3.12.0 )
38
- rspec-core (3.12.0 )
38
+ rspec-core (3.12.1 )
39
39
rspec-support (~> 3.12.0 )
40
40
rspec-expectations (3.12.2 )
41
41
diff-lcs (>= 1.2.0 , < 2.0 )
42
42
rspec-support (~> 3.12.0 )
43
- rspec-mocks (3.12.2 )
43
+ rspec-mocks (3.12.3 )
44
44
diff-lcs (>= 1.2.0 , < 2.0 )
45
45
rspec-support (~> 3.12.0 )
46
46
rspec-support (3.12.0 )
47
47
rubyzip (2.3.2 )
48
- selenium-webdriver (4.7.1 )
48
+ selenium-webdriver (4.8.0 )
49
49
rexml (~> 3.2 , >= 3.2.5 )
50
50
rubyzip (>= 1.2.2 , < 3.0 )
51
51
websocket (~> 1.0 )
Original file line number Diff line number Diff line change 40
40
capture_js_log = ENV . fetch ( 'CAPTURE_JS_LOG' , 'false' ) . casecmp? ( 'true' )
41
41
Selenium ::WebDriver . logger . level = :debug if capture_js_log
42
42
43
- options = { }
44
- options [ :log_level ] = :trace if capture_js_log
45
-
46
- browser_options = ::Selenium ::WebDriver ::Firefox ::Options . new ( **options )
47
- browser_options . headless! if ENV . fetch ( 'HEADLESS' , 'true' ) . casecmp? ( 'true' )
43
+ browser_options = ::Selenium ::WebDriver ::Firefox ::Options . new
44
+ browser_options . add_argument ( '-headless' ) if ENV . fetch ( 'HEADLESS' , 'true' ) . casecmp? ( 'true' )
48
45
browser_options . add_preference ( 'devtools.console.stdout.content' , true ) if capture_js_log
49
46
50
47
Capybara ::Selenium ::Driver . new (
51
48
app ,
52
49
browser : :firefox ,
53
- capabilities : browser_options ,
50
+ options : browser_options ,
54
51
clear_local_storage : true ,
55
52
clear_session_storage : true ,
56
53
)
You can’t perform that action at this time.
0 commit comments