[Wtr-development] [JIRA] Updated: (WTR-166) Document how to use the add_checker method to add custom wait logic to Watir

Charley Baker (JIRA) watirjira at gmail.com
Wed Oct 27 15:42:27 EDT 2010

     [ http://jira.openqa.org/browse/WTR-166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charley Baker updated WTR-166:

    Fix Version/s:     (was: 1.6.7)

> Document how to use the add_checker method to add custom wait logic to Watir
> ----------------------------------------------------------------------------
>                 Key: WTR-166
>                 URL: http://jira.openqa.org/browse/WTR-166
>             Project: Watir
>          Issue Type: New Feature
>          Components: Wait
>    Affects Versions: 1.5.0/1.5.1
>         Environment: x
>            Reporter: Jeff Fry
>            Assignee: Bret Pettichord
>            Priority: Major
>             Fix For: Soon
> Watir.wait() listens to whether IE thinks its done loading, and then checks to see that the main document and any sub documents/frames have finished loading. More and more, there are pages that on load also kick off various XHRs and timers. For me - and possibly for a growing number of folks, testing more AJAXy applications - it would be great to expand wait() to check if there are any XHRs or timers pending, in additional to the checks it currently makes. 
> Note, I don't know, but there may be applications where an XHR is intentionally left open at all times. If this happens I would guess that it's rare, but if we change the default behavior of watir.wait() to wait for pending XHRs and timers, we might want to give a config option that turns this off as well.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://jira.openqa.org/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the Wtr-development mailing list