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.
1 parent d703303 commit 2356a26Copy full SHA for 2356a26
py/selenium/webdriver/common/service.py
@@ -208,9 +208,9 @@ def _start_process(self, path: str) -> None:
208
try:
209
start_info = None
210
if sys.platform == "win32":
211
- start_info = subprocess.STARTUPINFO() # type: ignore[attr-defined]
212
- start_info.dwFlags = subprocess.CREATE_NEW_CONSOLE | subprocess.STARTF_USESHOWWINDOW # type: ignore[attr-defined]
213
- start_info.wShowWindow = subprocess.SW_HIDE # type: ignore[attr-defined]
+ start_info = subprocess.STARTUPINFO()
+ start_info.dwFlags = subprocess.CREATE_NEW_CONSOLE | subprocess.STARTF_USESHOWWINDOW
+ start_info.wShowWindow = subprocess.SW_HIDE
214
215
self.process = subprocess.Popen(
216
cmd,
0 commit comments