Skip to content

Commit 7ba5a33

Browse files
committed
Print browser version in specs
1 parent 72c9dc2 commit 7ba5a33

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

rb/spec/integration/selenium/webdriver/spec_helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
c.before(:suite) do
3535
$DEBUG ||= ENV['DEBUG'] == 'true'
3636
GlobalTestEnv.remote_server.start if GlobalTestEnv.driver == :remote
37+
GlobalTestEnv.print_env
3738
end
3839

3940
c.after(:suite) do
@@ -53,4 +54,3 @@
5354
WebDriver::Platform.exit_hook { GlobalTestEnv.quit }
5455

5556
$stdout.sync = true
56-
GlobalTestEnv.print_env

rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb

+1
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ def current_env
195195
{
196196
browser: browser,
197197
driver: driver,
198+
version: driver_instance.capabilities.version,
198199
platform: Platform.os,
199200
native: native_events?,
200201
ci: Platform.ci

0 commit comments

Comments
 (0)