Well, when you get back let me know ... always glad to help.
j.
On 10/26/05, Sy Ali <[EMAIL PROTECTED]> wrote:
On 10/26/05, Sy Ali <[EMAIL PROTECTED]> wrote:
> Jeff, does that mean that I do this? :
>
> require 'Watir' # the watir controller
> include Watir
>
> class Watir::IE
> def search_html( input )
> html.scan( input ) != []
> end
> end
> def search_html(string)
> puts " searching the source for " + string
> begin
> assert_match($ie.contains_html,string)
> puts " ok -- found " + string
> rescue => e
> puts ">>>FAIL -- could not find " + string
> end
> end
>
> $ie = Watir::IE.start(" http://example.com")
> search_html(".")
>
>
> Because this also fails..
>
Blah, now I know that's wrong.. I think I'm going to take a break...
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
--
"http://ruby-lang.org -- do you ruby?"
Jeff Wood
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
