Skip to content
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion py/selenium/webdriver/common/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def stop(self) -> None:
elif isinstance(self.log_output, int):
os.close(self.log_output)

if self.process is not None:
if self.process is not None and self.process.poll() is None:
try:
self.send_remote_shutdown_command()
except TypeError:
Expand Down