We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a7bb83 commit 1fcb06cCopy full SHA for 1fcb06c
rb/CHANGES
@@ -1,3 +1,9 @@
1
+2.43.0 (???)
2
+============
3
+
4
+* Firefox
5
+ - Make sure browser process is properly killed if silent startup hangs (#7392)
6
7
2.42.0 (2014-05-23)
8
===================
9
rb/lib/selenium/webdriver/firefox/binary.rb
@@ -44,7 +44,14 @@ def quit
44
end
45
46
def wait
47
- @process.poll_for_exit(WAIT_TIMEOUT) if @process
+ return unless @process
48
49
+ begin
50
+ @process.poll_for_exit(WAIT_TIMEOUT)
51
+ rescue ChildProcess::TimeoutError => e
52
+ @process.stop
53
+ raise e
54
+ end
55
56
57
private
0 commit comments