Short answer is yes.

All attributes got removed from all elements which are not valid for
that specific eleent. "name" is one of these examples, which is not a
valid attribute for link.

Starting from Watir 3, "name" is only valid attribute for these
elements:
button; fieldset; input; keygen; output; select; textarea; form;
iframe; object; map; meta; param.

Check out the more specific list for other elements at
http://www.whatwg.org/specs/web-apps/current-work/multipage/section-index.html#attributes-1

Jarmo

On Mar 22, 12:23 am, hillary <[email protected]> wrote:
> I had been identifying some links by name. I upgraded to rc3 and now i get
> an error.
>
> browser.link(:name, "#page_25").click
>
> Watir::Exception::MissingWayOfFindingObjectException: name is an unknown
> way of finding a <a> element (#page_25)

-- 
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]

Reply via email to