There is a page wait() method, but Watir uses it internally and (theoretically) it should not be needed . . . Watir is already supposed to wait until the page loads.

There is a WaitFor() method for elements that is in a development SVN branch right now. That should be available in a future release, perhaps along with some other useful methods. I made a simple extension to add a ".html =" method for modifying html in the page . . . extremely simple but also very useful sometimes. I don't know when these (or equivalent) methods will actually be included with Watir, as I have not been communicating directly with those in charge.

LonnyEachus


Subject:
[Wtr-general] WaitForObject
From:
Adrian Rutter <[EMAIL PROTECTED]>
Date:
Thu, 18 May 2006 16:17:50 +0100
To:
[email protected]
To:
[email protected]

Hi,

I was wondering if Watir had a method that will make the script wait until
a specific object appeared?

Also, is there a method to wait until a page has successfully loaded?

Thanks

Aidy

  


_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to