I can definitely do this in all cases where I explicitly wait. However, when a page is loaded after a click for example, the wait seems to be automatic. I'd like to be able to change the timeout even in this case.
Is this separatetyl configurable? On Wed, Jan 26, 2011 at 1:56 PM, Alastair Montgomery <doodl...@gmail.com> wrote: > If you use wait_until on an object you should be able to pass the > timeout setting. > > I'm guessing that you could use a global variable to set that timeout > throughout your tests, for example > (Object).wait_until_present(timeout = $timeout) > > > On Jan 25, 1:26 pm, vishnu <path...@gmail.com> wrote: >> Hi >> We have a lot of different places where our tests wait. Partly, >> there is the default wait of watir when a page is loaded. Then there >> are explicitly wait with a Watir::Wait.until >> >> the site we are testing is quite slow. Is there a way I can explicitly >> increase the timeout watir uses across the board to more than 30 >> seconds? >> >> thanks > > -- > 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