Skip to content

Commit

Permalink
ruby: Ensure Firefox capabilities are proper instance by default
Browse files Browse the repository at this point in the history
Signed-off-by: Alexei Barantsev <barancev@gmail.com>
  • Loading branch information
p0deje authored and barancev committed Jun 2, 2015
1 parent 70ce5e4 commit d381682
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rb/lib/selenium/webdriver/firefox/bridge.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def initialize(opts = {})
http_client = opts.delete(:http_client)
proxy = opts.delete(:proxy)

caps = opts.delete(:desired_capabilities) || {}
caps = opts.delete(:desired_capabilities) { Remote::Capabilities.firefox }

@launcher = create_launcher(port, profile)

Expand Down

0 comments on commit d381682

Please sign in to comment.