Skip to content

Commit

Permalink
[rb] start logger in tests before starting first driver
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Dec 4, 2022
1 parent 038141b commit 77f0cfa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion rb/spec/integration/selenium/webdriver/spec_helper.rb
Expand Up @@ -37,7 +37,6 @@
c.include(WebDriver::SpecSupport::Helpers)

c.before(:suite) do
WebDriver.logger
GlobalTestEnv.remote_server.start if GlobalTestEnv.driver == :remote && ENV['WD_REMOTE_URL'].nil?
GlobalTestEnv.print_env
end
Expand Down
Expand Up @@ -28,6 +28,7 @@ def initialize
@create_driver_error_count = 0

populate_from_bazel_target
WebDriver.logger

@driver = ENV.fetch('WD_SPEC_DRIVER', :chrome).to_sym
@driver_instance = nil
Expand Down

0 comments on commit 77f0cfa

Please sign in to comment.