lib/capybara/webmock.rb in capybara-webmock-0.5.0 vs lib/capybara/webmock.rb in capybara-webmock-0.5.1
- old
+ new
@@ -66,10 +66,10 @@
profile["network.proxy.ssl_port"] = port_number
profile
end
def chrome_options
- { args: "proxy-server=127.0.0.1:#{port_number}" }
+ {args: [ "--proxy-server=127.0.0.1:#{port_number}" ]}
end
def phantomjs_options
["--proxy=127.0.0.1:#{port_number}"]
end