Skip to content

Commit

Permalink
py: Killing phantomjs in the same manner as other drivers (more Windo…
Browse files Browse the repository at this point in the history
…ws-compatible way)
  • Loading branch information
barancev committed Apr 1, 2015
1 parent bae54d2 commit dbac744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/selenium/webdriver/phantomjs/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def stop(self):
try:
if self.process:
self.process.stdin.close()
self.process.send_signal(signal.SIGTERM)
self.process.kill()
self.process.wait()
except OSError:
# kill may not be available under windows environment
Expand Down

0 comments on commit dbac744

Please sign in to comment.