Skip to content

Commit dbac744

Browse files
committed
py: Killing phantomjs in the same manner as other drivers (more Windows-compatible way)
1 parent bae54d2 commit dbac744

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: py/selenium/webdriver/phantomjs/service.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def stop(self):
102102
try:
103103
if self.process:
104104
self.process.stdin.close()
105-
self.process.send_signal(signal.SIGTERM)
105+
self.process.kill()
106106
self.process.wait()
107107
except OSError:
108108
# kill may not be available under windows environment

0 commit comments

Comments
 (0)