I understand your point, but it creates drastic performance difference, it
clicks the link after 2 to 3 minutes. Direct selenium link locator clicks
the link instantly. After wrapped in link() method, it clicks in 30
seconds(approximately). But my question, what other other element visible
text matter? buttons? Or what else? Link is the only thing which usually
uses text to locate the element, that's the common notion, for button we
always preferred to use value locator.

On Mon, Dec 11, 2017 at 7:13 PM, Titus Fortner <titusfort...@gmail.com>
wrote:

> We've already had this conversation on github. The consistency of the API
> is much more important than this minor performance difference. Now all
> locators will be treated exactly the same. It should be possible to
> implement visible_text with the selenium locator, but a cursory look it was
> harder than I wanted to invest time into. You are welcome to PR a fix.
>
> --
> --
> 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.
>

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