Skip to content

Commit

Permalink
Add type hints for selenium.webdriver.remote.webdriver.WebDriver.__in…
Browse files Browse the repository at this point in the history
…it__ (#13775)

Co-authored-by: Diego Molina <[email protected]>
  • Loading branch information
adamtheturtle and diemol authored Apr 9, 2024
1 parent b867008 commit 2b59996
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions py/selenium/webdriver/remote/webdriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,10 @@ class WebDriver(BaseWebDriver):

def __init__(
self,
command_executor="http://127.0.0.1:4444",
keep_alive=True,
file_detector=None,
options: Union[BaseOptions, List[BaseOptions]] = None,
command_executor: Union[str, RemoteConnection] = "http://127.0.0.1:4444",
keep_alive: bool = True,
file_detector: Optional[FileDetector] = None,
options: Optional[Union[BaseOptions, List[BaseOptions]]] = None,
) -> None:
"""Create a new driver that will issue commands using the wire
protocol.
Expand Down

0 comments on commit 2b59996

Please sign in to comment.