We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44161f5 commit 2802b6fCopy full SHA for 2802b6f
py/selenium/webdriver/firefox/options.py
@@ -86,11 +86,11 @@ def to_capabilities(self):
86
87
returns a dictionary with everything
88
"""
89
- required = {}
+ desired = {}
90
if self.binary_location:
91
- required["binary"] = self.binary_location
+ desired["binary"] = self.binary_location
92
if self._profile:
93
- required["firefox_profile"] = self._profile.encoded
94
- required["args"] = self.arguments
95
- capabilities = {"requiredCapabilities": required}
+ desired["firefox_profile"] = self._profile.encoded
+ desired["args"] = self.arguments
+ capabilities = {"desiredCapabilities": desired}
96
return capabilities
0 commit comments