zmc
2023-08-08 e792e9a60d958b93aef96050644f369feb25d61b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
U
[±dq    ã@s*ddlZddlmZGdd„dejƒZdS)éN)Úservicec    speZdZdZd
eeejejeejeejej    eefejeddœ‡fdd„ Z
ejedœdd    „Z ‡Z S) ÚChromiumServiceaÕA Service class that is responsible for the starting and stopping the
    WebDriver instance of the ChromiumDriver.
 
    :param executable_path: install path of the executable.
    :param port: Port for the service to run on, defaults to 0 where the operating system will decide.
    :param service_args: (Optional) List of args to be passed to the subprocess when launching the executable.
    :param log_path: (Optional) String to be passed to the executable as `--log-path`.
    :param env: (Optional) Mapping of environment variables for the new process, defaults to `os.environ`.
    :param start_error_message: (Optional) Error message that forms part of the error when problems occur
    launching the subprocess.
    rN)Úexecutable_pathÚportÚ service_argsÚlog_pathÚenvÚstart_error_messageÚreturnc s@|pg|_|r |j d|›¡tƒjf||||dœ|—ŽdS)Nz --log-path=)Ú
executablerrr    )rÚappendÚsuperÚ__init__)Úselfrrrrrr    Úkwargs©Ú    __class__©úZd:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\selenium/webdriver/chromium/service.pyr#s
 
üûzChromiumService.__init__)r
cCsd|j›g|jS)Nz--port=)rr)rrrrÚcommand_line_args9sz!ChromiumService.command_line_args)rNNNN) Ú__name__Ú
__module__Ú __qualname__Ú__doc__ÚstrÚintÚtypingÚOptionalÚListÚMappingrrÚ __classcell__rrrrrs ù÷r)rZselenium.webdriver.commonrZServicerrrrrÚ<module>s