linkText(text)code »
Locates link elements whose visible text matches the given string.
Parameters
- text
string The link text to search for.
partialLinkText(text)code »
Locates link elements whose visible text contains the given substring.
Parameters
- text
string The substring to check for in a link's visible text.