Skip to content

Commit

Permalink
Pass in an encoded profile to the capabilities created from Options
Browse files Browse the repository at this point in the history
  • Loading branch information
AutomatedTester committed Mar 15, 2016
1 parent 35ae25b commit c95c848
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 @@ -92,7 +92,7 @@ def to_capabilities(self):
if self.binary_location:
firefox_options["binary"] = self.binary_location
if self._profile:
firefox_options["profile"] = self._profile
firefox_options["profile"] = self._profile.encoded
firefox_options["args"] = self.arguments

firefox["requiredCapabilities"] = firefox_options
Expand Down

0 comments on commit c95c848

Please sign in to comment.