Something like this should work:>0, :text=>"Share").click

Watir uses zero-based indexing (although I think firewatir is
different).  So, the example above would click on the first link where
the text is "Share".

Hope it helps.

On Mar 11, 3:09 pm, Shlomit Gazit <> wrote:
> I need to look for the word 'Share' in related to different texts in
> different places in the page, but the link has the same properties.
> How can I distinguish. Any ideas?

Before posting, please read In short: search before 
you ask, be nice.

You received this message because you are subscribed to
To post:
To unsubscribe:

Reply via email to