net.thucydides.core.annotations.locators
Class SmartElementLocator

Package class diagram package SmartElementLocator
java.lang.Object
  extended by net.thucydides.core.annotations.locators.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 Summary
SmartElementLocator(org.openqa.selenium.SearchContext searchContext, Field field)
           
 
Method Summary
 org.openqa.selenium.WebElement findElement()
          Find the element.
 List<org.openqa.selenium.WebElement> findElements()
          Find the element list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmartElementLocator

public SmartElementLocator(org.openqa.selenium.SearchContext searchContext,
                           Field field)
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


Copyright © 2011-2013 Wakaleo Consulting. All Rights Reserved.