Skip to content
This repository has been archived by the owner on May 22, 2018. It is now read-only.

Commit

Permalink
py 3.5 on delete doesn't allow new http requests to be made, throws a…
Browse files Browse the repository at this point in the history
…n exception here

fixes SeleniumHQ#1504
  • Loading branch information
lukeis committed Jan 21, 2016
1 parent 002c2b0 commit 808c23b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion py/selenium/webdriver/common/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,10 @@ def stop(self):
if self.process is None:
return

self.send_remote_shutdown_command()
try:
self.send_remote_shutdown_command()
except TypeError:
pass

try:
if self.process:
Expand Down

0 comments on commit 808c23b

Please sign in to comment.