Skip to content

Commit 1333d80

Browse files
committed
fix: Update docstring formatting for Service class parameters
1 parent 4140a0f commit 1333d80

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

py/selenium/webdriver/chrome/service.py

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,17 @@ class Service(service.ChromiumService):
2727
"""A Service class that is responsible for the starting and stopping of
2828
`chromedriver`.
2929
30-
:param executable_path: install path of the chromedriver executable, defaults to `chromedriver`.
31-
:param port: Port for the service to run on, defaults to 0 where the operating system will decide.
32-
:param service_args: (Optional) Sequence of args to be passed to the subprocess when launching the executable.
33-
:param log_output: (Optional) int representation of STDOUT/DEVNULL, any IO instance or String path to file.
34-
:param env: (Optional) Mapping of environment variables for the new process, defaults to `os.environ`.
30+
Args:
31+
executable_path: Install path of the chromedriver executable, defaults
32+
to `chromedriver`.
33+
port: Port for the service to run on, defaults to 0 where the operating
34+
system will decide.
35+
service_args: (Optional) Sequence of args to be passed to the subprocess
36+
when launching the executable.
37+
log_output: (Optional) int representation of STDOUT/DEVNULL, any IO
38+
instance or String path to file.
39+
env: (Optional) Mapping of environment variables for the new process,
40+
defaults to `os.environ`.
3541
"""
3642

3743
def __init__(

0 commit comments

Comments
 (0)