Skip to content

Commit

Permalink
[py] Pass capabilities rather than options to the proxy object (#6620)
Browse files Browse the repository at this point in the history
The method add_to_capabilities from the Proxy class takes capabilities
(self._caps) as argument instead of "opts"
  • Loading branch information
earendil authored and lmtierney committed Jul 18, 2019
1 parent 8fa569e commit df8eed8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/selenium/webdriver/firefox/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def to_capabilities(self):
if len(self._preferences) > 0:
opts["prefs"] = self._preferences
if self._proxy is not None:
self._proxy.add_to_capabilities(opts)
self._proxy.add_to_capabilities(caps)
if self._profile is not None:
opts["profile"] = self._profile.encoded
if len(self._arguments) > 0:
Expand Down

0 comments on commit df8eed8

Please sign in to comment.