File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -28,11 +28,11 @@ class ChromiumDriver(RemoteWebDriver):
28
28
29
29
def __init__ (
30
30
self ,
31
- browser_name ,
32
- vendor_prefix ,
33
- options : ArgOptions ,
34
- service : Service ,
35
- keep_alive = True ,
31
+ browser_name : str = None ,
32
+ vendor_prefix : str = None ,
33
+ options : ArgOptions = ArgOptions () ,
34
+ service : Service = None ,
35
+ keep_alive : bool = True ,
36
36
) -> None :
37
37
"""Creates a new WebDriver instance of the ChromiumDriver. Starts the
38
38
service and then creates new WebDriver instance of ChromiumDriver.
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ def __init__(
42
42
self ,
43
43
options : Options = None ,
44
44
service : Service = None ,
45
- keep_alive = True ,
45
+ keep_alive : bool = True ,
46
46
) -> None :
47
47
"""Creates a new instance of the Firefox driver. Starts the service and
48
48
then creates new instance of Firefox driver.
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ def __init__(
31
31
self ,
32
32
options : Options = None ,
33
33
service : Service = None ,
34
- keep_alive = True ,
34
+ keep_alive : bool = True ,
35
35
) -> None :
36
36
"""Creates a new instance of the Ie driver.
37
37
@@ -40,7 +40,7 @@ def __init__(
40
40
:Args:
41
41
- options - IE Options instance, providing additional IE options
42
42
- service - (Optional) service instance for managing the starting and stopping of the driver.
43
- - keep_alive - Deprecated: Whether to configure RemoteConnection to use HTTP keep-alive.
43
+ - keep_alive - Whether to configure RemoteConnection to use HTTP keep-alive.
44
44
"""
45
45
46
46
self .service = service if service else Service ()
You can’t perform that action at this time.
0 commit comments