We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b867008 commit 2b59996Copy full SHA for 2b59996
py/selenium/webdriver/remote/webdriver.py
@@ -163,10 +163,10 @@ class WebDriver(BaseWebDriver):
163
164
def __init__(
165
self,
166
- command_executor="http://127.0.0.1:4444",
167
- keep_alive=True,
168
- file_detector=None,
169
- 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,
170
) -> None:
171
"""Create a new driver that will issue commands using the wire
172
protocol.
0 commit comments