Skip to content

Commit 00801a0

Browse files
committed
ruby: Don't set default value of nativeEvents capability, it is already set in profile. Fixes issue 4478
1 parent b1c5156 commit 00801a0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: rb/lib/selenium/webdriver/firefox/bridge.rb

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ def initialize(opts = {})
1111
http_client = opts.delete(:http_client)
1212
proxy = opts.delete(:proxy)
1313

14-
caps = opts.delete(:desired_capabilities) do
15-
Remote::Capabilities.firefox(:native_events => DEFAULT_ENABLE_NATIVE_EVENTS)
16-
end
14+
caps = opts.delete(:desired_capabilities) || {}
1715

1816
@launcher = create_launcher(port, profile)
1917

0 commit comments

Comments
 (0)