Skip to content

Commit d57de6f

Browse files
committed
refactor: update argument documentation format in WebDriver class
1 parent 9b92963 commit d57de6f

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

py/selenium/webdriver/edge/webdriver.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,16 @@ def __init__(
3232
service: Optional[Service] = None,
3333
keep_alive: bool = True,
3434
) -> None:
35-
"""Creates a new instance of the edge driver. Starts the service and
36-
then creates new instance of edge driver.
35+
"""Creates a new instance of the edge driver.
3736
38-
:Args:
39-
- options - this takes an instance of EdgeOptions
40-
- service - Service object for handling the browser driver if you need to pass extra details
41-
- keep_alive - Whether to configure EdgeRemoteConnection to use HTTP keep-alive.
37+
Starts the service and then creates new instance of edge driver.
38+
39+
Args:
40+
options: An instance of EdgeOptions.
41+
service: Service object for handling the browser driver if you need
42+
to pass extra details.
43+
keep_alive: Whether to configure EdgeRemoteConnection to use HTTP
44+
keep-alive.
4245
"""
4346
service = service if service else Service()
4447
options = options if options else Options()

0 commit comments

Comments
 (0)