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
Modifier and Type Method Description List<org.openqa.selenium.WebElement>handle(org.openqa.selenium.WebDriver driver, String arg)Handle locator.StringlocatorType()Locator type.
-
Constructor Details
-
AdditionalHandler
Constructor.- Parameters:
locatorType- locator type name.script- locator implementation by JavaScript.
-
-
Method Details
-
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.
-