Skip to content

Commit c95c848

Browse files
Pass in an encoded profile to the capabilities created from Options
1 parent 35ae25b commit c95c848

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/selenium/webdriver/firefox/options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def to_capabilities(self):
9292
if self.binary_location:
9393
firefox_options["binary"] = self.binary_location
9494
if self._profile:
95-
firefox_options["profile"] = self._profile
95+
firefox_options["profile"] = self._profile.encoded
9696
firefox_options["args"] = self.arguments
9797

9898
firefox["requiredCapabilities"] = firefox_options

0 commit comments

Comments
 (0)