Hi guys,

I am having a bit of trouble. Below is the HTML that is confusing me...

<a class="drill" data-item-type-id="1" data-item-type="type" href="#">
<span></span>
Album
</a>

This is a link on the page, and I am trying to select the link. There are a 
number of different links on the page so to make sure I am selecting the 
correct link I want to use 'Album' as my identifier.
I have tried @b.link(:text, 'Album' and also tried to find the xpath but 
all to no success.

Can someone help me try to locate this.
It seems the text Album is not the text for link or something. The span tag 
has no text so can not use that as an identifier.

Any help would be greatly appreciated.

Kind regards,
Knoll

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to