Skip to content

Commit 808c23b

Browse files
committed
py 3.5 on delete doesn't allow new http requests to be made, throws an exception here
fixes #1504
1 parent 002c2b0 commit 808c23b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

py/selenium/webdriver/common/service.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,10 @@ def stop(self):
117117
if self.process is None:
118118
return
119119

120-
self.send_remote_shutdown_command()
120+
try:
121+
self.send_remote_shutdown_command()
122+
except TypeError:
123+
pass
121124

122125
try:
123126
if self.process:

0 commit comments

Comments
 (0)