Skip to content

Commit 7aab3b6

Browse files
committed
Remove hardcoded process timeout
1 parent 89c0ef3 commit 7aab3b6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/spec_helper.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@
1717
@server = Ferrum::Server.boot
1818

1919
begin
20-
browser = Ferrum::Browser.new(process_timeout: 5)
20+
browser = Ferrum::Browser.new
2121
puts "Browser: #{browser.process.browser_version}"
2222
puts "Protocol: #{browser.process.protocol_version}"
2323
puts "V8: #{browser.process.v8_version}"
2424
puts "Webkit: #{browser.process.webkit_version}"
2525
ensure
26-
browser.quit
26+
browser&.quit
2727
end
2828
end
2929

3030
config.before(:all) do
3131
base_url = Ferrum::Server.server.base_url
32-
options = { base_url: base_url, process_timeout: 5 }
32+
options = { base_url: base_url }
3333

3434
if ENV["CI"]
3535
FERRUM_LOGGER = StringIO.new

0 commit comments

Comments
 (0)