Good Catch Dan,
 
Development is obviously missing the point of well-versed web standards. 
Feed that bug back to them. LOL!
 

On Wednesday, August 1, 2012 10:21:53 AM UTC-5, Dan wrote:

> The name attribute isn't valid for divs.
>
> http://www.w3.org/wiki/HTML/Elements/div#HTML_Attributes
>
> On Wednesday, August 1, 2012 9:25:28 AM UTC-4, jud wrote: 
>>
>> Hi,
>>
>> I'm trying to click on :name attributes, but i"m getting the error:
>> Watir::Exception::MisingWayOfFindingObjectException
>> Exception: invalid attribute :name
>>
>> This is the code that I've tried to run:
>> browser.div(:name => "judith").image(:alt => "Edit").click
>>
>> Note- this code is working if I try :id or class attributes and I'm also 
>> sure that :name attribute exists.
>>
>> Anyone familiar with this issue?
>>
>

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