ok - so what I have done is wrap it in a thread so that I can kill it if it messes up. I can live with this for now.
example:
thread = Thread.new(browser) do |mybrowser|
mybrowser.resynchronized { mybrowser.goto(url) }
mybrowser.wait
end
stime = Time.now
while (Time.now - stime) < 30
break unless thread.status
end
if (Time.now - stime) >= 30
thread.kill
end
On Oct 28, 2009, at 11:41 PM, Josh Lopez wrote:
I've been seeing similar issues with v2.5. When it hangs, it ends up pegging my processor at 99% utilization. I'm still trying to isolate what is happening. I'm about to throw in the towel and upgrade to 2.6 to see if that resolves it.
--josh
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user