hi,
this is because there is no method called 'wait_for_browser()' defined to Watir::IE class . Instead you can user IE.wait() for waiting till the browser loads the page. By the way it is unnecessary to call the method because watir internally calls this method on every event that causes a new page to get loaded.
Regards,
Angrez
On Thu, 21 Jul 2005 Ben Torres wrote :
>
>Hi,
>
>I'm wondering if anyone can help me with why I am getting an undefined method error (NoMethodError) for wait_for_browser().
>
>Here's a snippet from my script:
>#includes:
>require 'watir' # the watir controller
>require 'win32ole'
>include Watir
>#open the IE browser
>ie = IE.new
>
>ie.wait_for_browser()
>
>-ben
>
>
>---------------------------------
> Start your day with Yahoo! - make it your home page
>_______________________________________________
>Wtr-general mailing list
>[email protected]
>http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
