Skip to content

Commit 19d19cf

Browse files
committed
strings not non-existing variables
1 parent 4369a2f commit 19d19cf

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

examples/ruby/lib/monkey_patch.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ module Selenium
44
module WebDriver
55
module Chrome
66
class Driver < Chromium::Driver
7-
include LocalDriver
8-
97
def initialize(options: nil, service: nil, url: nil, **opts)
108
caps, url = initialize_local_driver(options, service, url)
119

@@ -28,7 +26,7 @@ class Guards
2826
def add_condition(name, condition = nil, &)
2927
condition = false if condition.nil?
3028
@guard_conditions << GuardCondition.new(name, condition, &)
31-
WebDriver.logger.info "Running with Guard '#{name}' set to: #{condition}"
29+
WebDriver.logger.debug "Running with Guard '#{name}' set to: #{condition}"
3230
end
3331
end
3432
end

examples/ruby/spec/drivers/options_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
options.platform_name = 'Windows 10'
3737
options.browser_version = 'latest'
3838
cloud_options = {}
39-
cloud_options[:build] = my_test_build
40-
cloud_options[:name] = my_test_name
39+
cloud_options[:username] = 'user1234'
40+
cloud_options[:access_key] = 'password'
4141
options.add_option('cloud:options', cloud_options)
4242
end
4343

0 commit comments

Comments
 (0)