I have some automation running and when I use link_text or link as the 
means to locate elements, I get:

Watir::Exception::MissingWayOffFindingObjectException
invalid_attribute :link_text

The same applies for :link.

More broadly, let's say you have links that look like this:

<a href="/services">Services</a>

How would you generally go about finding that, assuming you didn't want to 
use XPath? Maybe I'm just trying the wrong locators.

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to