I've played around some more and it seems that "link" is the only
element type that will work for me - button, text_field, and radio all
fail with the same error.

On Jun 3, 3:14 pm, James <[email protected]> wrote:
> If I have this:
>
> browser.link(:after?, myelement).exists?
>
> It works.
>
> However, if I change it to this:
>
> browser.radio(:after?, myelement).exists?
>
> I get the error:
> "ArgumentError: wrong number of arguments (0 for 1)"
>
> I"m confused - what am I missing?  I have the same number of
> arguments.  is the "after?" how not supported by radio?  I'm confused
> on how it would work with one element type but not a different one.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to