This error is due to timeout for pageload, timeout to load the page was set 
to 60 seconds, Is your browser taking more than 60 seconds to load the 
google? 

On Friday, December 8, 2017 at 10:44:42 PM UTC+5:30, 江南 wrote:
>
> Hi,
>
> I have tried the code below but my script just keep loading then I get 
> this message: Net::ReadTimeout: Net::ReadTimeout
>
> @browser = Watir::Browser.new :chrome, headless: true
> @browser.goto "www.google.com"
>
>  Can someone tell me am I missing something?
>
>
> Thanks
>
>

-- 
-- 
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