Package jp.vmi.selenium.selenese.locator
Class AdditionalHandler
- java.lang.Object
-
- jp.vmi.selenium.selenese.locator.AdditionalHandler
-
- All Implemented Interfaces:
LocatorHandler
public class AdditionalHandler extends Object implements LocatorHandler
Additional locator handler.
-
-
Constructor Summary
Constructors Constructor Description AdditionalHandler(String locatorType, String script)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.openqa.selenium.WebElement>handle(org.openqa.selenium.WebDriver driver, String arg)Handle locator.StringlocatorType()Locator type.
-
-
-
Method Detail
-
locatorType
public String locatorType()
Description copied from interface:LocatorHandlerLocator type.- Specified by:
locatorTypein interfaceLocatorHandler- Returns:
- locator type.
-
handle
public List<org.openqa.selenium.WebElement> handle(org.openqa.selenium.WebDriver driver, String arg)
Description copied from interface:LocatorHandlerHandle locator.- Specified by:
handlein interfaceLocatorHandler- Parameters:
driver- WebDriver instance.arg- locator argument.- Returns:
- found element.
-
-