Class SmartElementLocator

  • All Implemented Interfaces:
    org.openqa.selenium.support.pagefactory.ElementLocator
    Direct Known Subclasses:
    SmartAjaxElementLocator

    public class SmartElementLocator
    extends Object
    implements org.openqa.selenium.support.pagefactory.ElementLocator
    • Constructor Detail

      • SmartElementLocator

        public SmartElementLocator​(org.openqa.selenium.SearchContext searchContext,
                                   Field field,
                                   MobilePlatform mobilePlatform)
    • Method Detail

      • findElement

        public org.openqa.selenium.WebElement findElement()
        Find the element.
        Specified by:
        findElement in interface org.openqa.selenium.support.pagefactory.ElementLocator
      • findElements

        public List<org.openqa.selenium.WebElement> findElements()
        Find the element list.
        Specified by:
        findElements in interface org.openqa.selenium.support.pagefactory.ElementLocator