Bret Pettichord wrote:
How to set myself up to view the logs?
Click the "Show Log" button to pop up the logging window.
I thought i would share the related code from Watir ...
It never assumes (like the Selenium code) that a new page is being
loaded. Rather it simply tests three states: browser.busy,
browser.readyState and document.readyState. Note that we also wait
0.02 seconds before polling the final item (document.readyState). This
is to make sure the page load has had a chance to start. I know it
sounds hokey, but it works.
... my Watir experience also leads me to think that polling can be
reliable ...
What do you think?
Sounds promising. As you say, polling seems a bit hokey/wasteful, but
we're already polling, and I imagine that "the Watir approach" might be
more robust than what we have now. Worth a go.
--
cheers, MikeW http://www.dogbiscuit.org/mdub/
_______________________________________________
Selenium-devel mailing list
Selenium-devel@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-devel