PracticeQAAutomation logoPracticeQAAutomation

Links

Simple, dynamic, new-tab, broken and redirecting links.

Link types

Tricky link text

Locate links that have no visible text, or text padded with junk whitespace.

  • ← a link with no text at all (only an icon and a title attribute)
  • Contact Us ← text is padded with spaces and a line break — //a[text()='Contact Us'] fails; //a[normalize-space()='Contact Us'] works