I am having a few problems with xpath.
I am trying to access an image tag buried with a div
I tried:
Div = @ie.div(:xpath, ’some path’)
This returns “unknown way of finding a div
I also tried
Div = @ie.element_by_xpath(‘some path’)
this returns undefined method “element_by_xpath” fro #<Watir:IE...
Thanks.
[I am using the latest in CVS]
Pat.
From: Angrez Singh <[EMAIL PROTECTED]>
Reply-To: <[email protected]>
Date: Mon, 26 Dec 2005 10:34:42 +0530
To: <[email protected]>
Subject: Re: [Wtr-general] how to install Watir for the x-path support...
Hi Roy,
Yes, you just need to change the files in the installation directory. Also read the document "Support for XPath in Watir.doc" under the doc section in CVS. You also need to replace two files in the REXML directory found under " [ruby installation directory]/lib/ruby/1.8/rexml ". The two files are " element.rb " and " functions.rb ". These files are available on CVS under the directory " watir/watir/rexml ". Reply me if you want more help on that.
Regards,
Angrez
On 12/22/05, Roy Sin <[EMAIL PROTECTED]> wrote:
I downloaded the latest Watir tarball from CVS. How do I
get x-path to work on Windows. My current Watir install is
in C:\Program Files\Watir. Do I just take the files I
unzipped from Watir.tar.gz and put them in my current Watir
directory?
thanks
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com <http://mail.yahoo.com>
_______________________________________________
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
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
