File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change 13
13
require "support/test_app"
14
14
require "support/external_browser"
15
15
16
+ puts ""
17
+ puts `#{ Ferrum ::Browser ::Command . build ( { window_size : [ ] , ignore_default_browser_options : true } , nil ) . to_a . first } --version`
18
+ puts ""
19
+
16
20
Capybara . register_driver ( :cuprite ) do |app |
17
21
options = { }
18
22
options . merge! ( inspector : true ) if ENV [ "INSPECTOR" ]
19
23
options . merge! ( logger : StringIO . new ) if ENV [ "CI" ]
20
- driver = Capybara ::Cuprite ::Driver . new ( app , options )
21
- process = driver . browser . process
22
-
23
- puts ""
24
- puts "Browser: #{ process . browser_version } "
25
- puts "Protocol: #{ process . protocol_version } "
26
- puts "V8: #{ process . v8_version } "
27
- puts "Webkit: #{ process . webkit_version } "
28
-
29
- driver
24
+ Capybara ::Cuprite ::Driver . new ( app , options )
30
25
end
31
26
32
27
module TestSessions
You can’t perform that action at this time.
0 commit comments