On Wed, Jan 13, 2010 at 10:20 PM, xguarder <shams...@gmail.com> wrote:
> 2. Is it possible to click on a link that immediately precedes a
> particular text?

Probably, but only if you know xpath:

http://wiki.openqa.org/display/WTR/XPath

You can click a link that is _after_ some other element, for example:

browser.link(:after?, browser.link(:text, "two")).click

http://wiki.openqa.org/display/WTR/Ways+Available+To+Identify+HTML+Element

Željko
-- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general

Reply via email to