I am using rspec with safariwatir. When I try to have watir click a
link for which I have an id I see the link get highlighted in yellow
but the click action doesn't occur. Here is an example:

@browser.button(:id, "<ID_name>").click

I then tried this:

Watir::Element::click { @browser.button(:id, "anonymous_element_1")}

But this generates the following error:

NameError in 'Register Upgrade and upload a video flow should upload a
video'
uninitialized constant Watir::Element

I'm a newbie to watir so any help you can provide would be greatly
appericated.

Thanks

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