zmc
2023-08-08 e792e9a60d958b93aef96050644f369feb25d61b
1
2
3
4
5
6
7
8
9
10
11
12
U
[±dyã@s.ddlZddlmZdZGdd„dejƒZdS)éN)ÚserviceZ chromedriverc    s^eZdZdZeddddfeeejej    eejeejej
eefddœ‡fdd„ Z ‡Z S)ÚServicea[A Service class that is responsible for the starting and stopping of
    `chromedriver`.
 
    :param executable_path: install path of the chromedriver executable, defaults to `chromedriver`.
    :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`.
    rN)Úexecutable_pathÚportÚ service_argsÚlog_pathÚenvÚreturnc     s$tƒjf|||||ddœ|—ŽdS)Nz1Please see https://chromedriver.chromium.org/home)rrrrrZstart_error_message)ÚsuperÚ__init__)ÚselfrrrrrÚkwargs©Ú    __class__©úXd:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\selenium/webdriver/chrome/service.pyr #s    úùzService.__init__) Ú__name__Ú
__module__Ú __qualname__Ú__doc__ÚDEFAULT_EXECUTABLE_PATHÚstrÚintÚtypingÚOptionalÚListÚMappingr Ú __classcell__rrrrrs úør)rZselenium.webdriver.chromiumrrZChromiumServicerrrrrÚ<module>s