Skip to content

Commit c59a267

Browse files
committed
[py]: bugfix iterating stdout twice instead of stderr
1 parent e2add16 commit c59a267

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/selenium/webdriver/common/service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def _terminate_process(self) -> None:
166166
terminate. Terminating does not raise itself if something has gone
167167
wrong but (currently) silently ignores errors here."""
168168
try:
169-
stdin, stdout, stderr = self.process.stdin, self.process.stdout, self.process.stdout
169+
stdin, stdout, stderr = self.process.stdin, self.process.stdout, self.process.stderr
170170
for stream in stdin, stdout, stderr:
171171
with contextlib.suppress(AttributeError):
172172
stream.close()

0 commit comments

Comments
 (0)