We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Popen
1 parent cd88d18 commit a916504Copy full SHA for a916504
1 file changed
py/selenium/webdriver/common/service.py
@@ -68,6 +68,7 @@ def __init__(
68
self.creation_flags = kwargs.pop("creation_flags", 0)
69
self.close_fds = kwargs.pop("close_fds") or system() != "Windows"
70
self.env = env or os.environ
71
+ self.popen_kw = kwargs.get("popen_kw", {})
72
73
@property
74
def service_url(self) -> str:
@@ -207,6 +208,7 @@ def _start_process(self, path: str) -> None:
207
208
stderr=self.log_file,
209
stdin=PIPE,
210
creationflags=self.creation_flags,
211
+ **self.popen_kw,
212
)
213
logger.debug(f"Started executable: `{self.path}` in a child process with pid: {self.process.pid}")
214
except TypeError:
0 commit comments