We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3edcd62 commit 5eb3390Copy full SHA for 5eb3390
rb/lib/selenium/webdriver/firefox/legacy/driver.rb
@@ -48,14 +48,15 @@ def initialize(opts = {})
48
opts[:url] = @launcher.url
49
end
50
51
+ listener = opts.delete(:listener)
52
WebDriver.logger.info 'Skipping handshake as we know it is OSS.'
53
desired_capabilities = opts.delete(:desired_capabilities)
54
bridge = Remote::Bridge.new(opts)
55
capabilities = bridge.create_session(desired_capabilities)
56
@bridge = Remote::OSS::Bridge.new(capabilities, bridge.session_id, opts)
57
58
begin
- super(@bridge, listener: opts[:listener])
59
+ super(@bridge, listener: listener)
60
rescue
61
@launcher.quit if @launcher
62
raise
0 commit comments