[wtr-general] Re: link and link_text not working in Watir 6?

2017-10-19 Thread inveilus
On Thursday, October 19, 2017 at 9:30:22 AM UTC-5, Justin Ko wrote: > > :link and :link_text are Selenium-WebDriver locators. Their support is > quite limited in Watir. They are only accepted when using the #element > method: > > browser.element(link_text: "Services").exists? > #=> true > >

[wtr-general] link and link_text not working in Watir 6?

2017-10-19 Thread inveilus
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: Services How