From 2621f825cb8a63131a8760ca0d0562f52d5ddda7 Mon Sep 17 00:00:00 2001 From: titusfortner Date: Sun, 5 Nov 2023 11:56:25 -0600 Subject: [PATCH] [py] add more logging to driver startup --- py/selenium/webdriver/common/service.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/py/selenium/webdriver/common/service.py b/py/selenium/webdriver/common/service.py index 6a2eeea87e316..0dee26a130dde 100644 --- a/py/selenium/webdriver/common/service.py +++ b/py/selenium/webdriver/common/service.py @@ -212,7 +212,13 @@ def _start_process(self, path: str) -> None: startupinfo=start_info, **self.popen_kw, ) - logger.debug("Started executable: `%s` in a child process with pid: %s", self._path, self.process.pid) + logger.debug( + "Started executable: `%s` in a child process with pid: %s using %s to output %s", + self._path, + self.process.pid, + self.creation_flags, + self.log_output, + ) except TypeError: raise except OSError as err: