Skip to content

Commit

Permalink
[py] Fix type hint on chrome option method (#9840)
Browse files Browse the repository at this point in the history
A list of strings is also allowed to be passed here
https://sites.google.com/a/chromium.org/chromedriver/capabilities

Co-authored-by: David Burns <[email protected]>
  • Loading branch information
fergushev and AutomatedTester authored Sep 20, 2021
1 parent 41dfb46 commit 2c071c8
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, dict]):
def add_experimental_option(self, name: str, value: Union[str, int, dict, List[str]]):
"""
Adds an experimental option which is passed to chromium.
Expand Down

0 comments on commit 2c071c8

Please sign in to comment.