That's an interesting issue. Watir uses 1 based indexing, so it would be
button(:index, 1) - the first button.

-c

On Fri, Apr 3, 2009 at 11:23 AM, jason <jason.franklin.sto...@gmail.com>wrote:

>
>
> has anyone an idea about this?
> is it me - or is this not supported in firewatir?
>
> ff.frame(:index,1).button(:index, 0).click
>
> #Unable to locate element, using :index, 0
> (Watir::Exception::UnknownObjectException)
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to