Skip to content

Commit

Permalink
[py] Correct Type Hinting on option method. Fixes #9210
Browse files Browse the repository at this point in the history
Dicts are allowed to be passed in as well as the current values already
on the method.
  • Loading branch information
AutomatedTester committed Mar 1, 2021
1 parent b9ef1f8 commit 95707f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/selenium/webdriver/chromium/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def experimental_options(self) -> dict:
"""
return self._experimental_options

def add_experimental_option(self, name: str, value: Union[str, int]):
def add_experimental_option(self, name: str, value: Union[str, int, dict]):
"""
Adds an experimental option which is passed to chromium.
Expand Down

0 comments on commit 95707f2

Please sign in to comment.