[wtr-general] Re: Chrome Headless Browser

2017-12-11 Thread 江南
Yes I do and I think I found the reason why is not working here:http://blog.faraday.io/headless-chromium/ On Friday, 8 December 2017 17:24:32 UTC, Chuck van der Linden wrote: > > > On Friday, December 8, 2017 at 9:14:42 AM UTC-8, 江南 wrote: >> >> Hi, >> >> I have tried the code below but my

[wtr-general] Re: Chrome Headless Browser

2017-12-08 Thread rajagopalanmadasami
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

[wtr-general] Re: Chrome Headless Browser

2017-12-08 Thread Chuck van der Linden
On Friday, December 8, 2017 at 9:14:42 AM UTC-8, 江南 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