Class Finders


  • public class Finders
    extends java.lang.Object
    • Constructor Detail

      • Finders

        public Finders()
    • Method Detail

      • link

        public static HtmlTagFinder link​(java.lang.String anchorText)
      • title

        public static HtmlTagFinder title​(java.lang.String title)
      • imageButton

        public static HtmlTagFinder imageButton​(java.lang.String label)
      • radioButton

        public static HtmlTagFinder radioButton​(java.lang.String id)
      • button

        public static HtmlTagFinder button​(java.lang.String label)
      • first

        public static Finder<org.openqa.selenium.WebElement,​org.openqa.selenium.WebDriver> first​(Finder<org.openqa.selenium.WebElement,​org.openqa.selenium.WebDriver> finder)
        A finder which returns the first element matched - such as if you have multiple elements which match the finder (such as multiple links with the same text on a page etc)
        Parameters:
        finder - finder from which context to search
        Returns:
        finder that will return the first match