I am having this error

C:/Ruby23/lib/ruby/2.3.0/net/protocol.rb:158:in `rbuf_fill': 
Net::ReadTimeout (Net::ReadTimeout)
 from C:/Ruby23/lib/ruby/2.3.0/net/protocol.rb:136:in `readuntil'
 from C:/Ruby23/lib/ruby/2.3.0/net/protocol.rb:146:in `readline'
 from C:/Ruby23/lib/ruby/2.3.0/net/http/response.rb:40:in `read_status_line'
 from C:/Ruby23/lib/ruby/2.3.0/net/http/response.rb:29:in `read_new'
 from C:/Ruby23/lib/ruby/2.3.0/net/http.rb:1437:in `block in 
transport_request'
 from C:/Ruby23/lib/ruby/2.3.0/net/http.rb:1434:in `catch'
 from C:/Ruby23/lib/ruby/2.3.0/net/http.rb:1434:in `transport_request'
 from C:/Ruby23/lib/ruby/2.3.0/net/http.rb:1407:in `request'
 from C:/Ruby23/lib/ruby/2.3.0/net/http.rb:1400:in `block in request'
 from C:/Ruby23/lib/ruby/2.3.0/net/http.rb:853:in `start'
 from C:/Ruby23/lib/ruby/2.3.0/net/http.rb:1398:in `request'


So I have included this in my program



client = Selenium::WebDriver::Remote::Http::Default.new
client.read_timeout = 120 # seconds
b=Watir::Browser.new :firefox, desired_capabilities: caps,profile: "default"
, http_client: client


But still it's working, How do I increase the page_load timeout?

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to