Skip to content

Commit 0cfeb0d

Browse files
committed
fix: Update docstring formatting for ChromiumService parameters
1 parent 1333d80 commit 0cfeb0d

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

py/selenium/webdriver/chromium/service.py

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,18 @@ class ChromiumService(service.Service):
2727
"""A Service class that is responsible for the starting and stopping the
2828
WebDriver instance of the ChromiumDriver.
2929
30-
:param executable_path: install path of the executable.
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`.
35-
:param driver_path_env_key: (Optional) Environment variable to use to get the path to the driver executable.
30+
Args:
31+
executable_path: Install path of the executable.
32+
port: Port for the service to run on, defaults to 0 where the operating
33+
system will decide.
34+
service_args: (Optional) Sequence of args to be passed to the subprocess
35+
when launching the executable.
36+
log_output: (Optional) int representation of STDOUT/DEVNULL, any IO
37+
instance or String path to file.
38+
env: (Optional) Mapping of environment variables for the new process,
39+
defaults to `os.environ`.
40+
driver_path_env_key: (Optional) Environment variable to use to get the
41+
path to the driver executable.
3642
"""
3743

3844
def __init__(

0 commit comments

Comments
 (0)