We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fcd051 commit 3a27748Copy full SHA for 3a27748
rb/lib/selenium/webdriver/safari/bridge.rb
@@ -7,7 +7,7 @@ class Bridge < Remote::Bridge
7
8
def initialize(opts = {})
9
command_timeout = Integer(opts[:timeout] || COMMAND_TIMEOUT)
10
- safari_options = opts.kind_of?(Safari::Options) ? opts : Safari::Options.new(opts)
+ safari_options = opts.delete(:options) || Safari::Options.new(opts)
11
capabilities = merge_capabilities(opts, safari_options)
12
13
@command_id ||= 0
0 commit comments