On Wed, Feb 1, 2012 at 3:53 PM, Abe Heward <ahew...@rsmart.com> wrote:
> NoMethodError: undefined method `now' for Watir::Time:Class > > > The HTML spec recently (re-)-introduced the <time> element, so there's now a Watir::Time class. Since you're inside the Watir module in your monkey patch, that's what you're referencing when you do "Time.now". To access the top-level constant, instead do "::Time.now". watir-webdriver already has a helper for waiting, so you could instead do: Watir::Wait.until { execute_script("return jQuery.active") == 0 } -- 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