Re: [wtr-general] Is possible to instance a new firefox session with timeout to open the browser?

2011-08-11 Thread Jari Bakken
Usually this should time out in 60 seconds. Try running the script with
$DEBUG = true (or pass -d to ruby on the command line) and paste the full
output here.

2011/8/10 Fabrício Ferrari de Campos ffc.fabri...@gmail.com

 Hi,

 I'm using 'watir-webdriver' and sometimes when I open a new firefox
 session (Watir::Browser.new(:firefox, :profile = default)), the
 firefox is started, but remains with the blank page (http://cl.ly/
 3Z020Y143N1D1X221D00).

 And only when I kill the process or close the firefox manually, the
 unable to obtain stable firefox connection in 60 seconds
 (127.0.0.1:7055) exception occurs. Is there someway I can pass a
 timeout when I initialize de browser?

 Regards,

 Fabrício Ferrari de Campos

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

 watir-general@googlegroups.com
 http://groups.google.com/group/watir-general
 watir-general+unsubscr...@googlegroups.com


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

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


[wtr-general] Is possible to instance a new firefox session with timeout to open the browser?

2011-08-10 Thread Fabrício Ferrari de Campos
Hi,

I'm using 'watir-webdriver' and sometimes when I open a new firefox
session (Watir::Browser.new(:firefox, :profile = default)), the
firefox is started, but remains with the blank page (http://cl.ly/
3Z020Y143N1D1X221D00).

And only when I kill the process or close the firefox manually, the
unable to obtain stable firefox connection in 60 seconds
(127.0.0.1:7055) exception occurs. Is there someway I can pass a
timeout when I initialize de browser?

Regards,

Fabrício Ferrari de Campos

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

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com