Hmm... I am not sure why it cannot find the span.

Does it seem to only be a problem when finding by text?    Can you add
an id to that span?    Does it work when searching for it by id?

Looking for a little more information.


On Tue, Nov 17, 2009 at 3:57 PM, QAguy <> wrote:
> I am using the following:
> browser.span(:text,'butterfly.m4v').click
> to click on that item in the following code:
> <span class="name">
> <a title="butterfly.m4v" class="trim_to_height 1_lines" href="/videos/
> 359dd3be1914b8"><span>butterfly.m4v</span></a>
> </span>
> But I get the following result:
> Unable to locate Span element with text of butterfly.m4v
> This is being run from a file using rpsec with safariwatir. No sure
> why this is not working. Hoping someone can help.
> Thanks
> QAguy
> >

Adam Esterline

You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to
Before posting, please read the following guidelines:
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to