public static enum WDLocator.WDType extends java.lang.Enum<WDLocator.WDType>
Enum Constant and Description |
---|
CSS_SELECTOR |
ID |
LINK |
LINK_TEXT |
MAP |
NAME |
XPATH |
Modifier and Type | Method and Description |
---|---|
abstract org.openqa.selenium.WebElement |
find(java.lang.String value,
com.sebuilder.interpreter.TestRun ctx) |
abstract boolean |
findElementNotPresent(java.lang.String value,
com.sebuilder.interpreter.TestRun ctx) |
abstract java.util.List<org.openqa.selenium.WebElement> |
findElements(java.lang.String value,
com.sebuilder.interpreter.TestRun ctx) |
static WDLocator.WDType |
ofName(java.lang.String name) |
java.lang.String |
toString() |
static WDLocator.WDType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WDLocator.WDType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WDLocator.WDType MAP
public static final WDLocator.WDType ID
public static final WDLocator.WDType NAME
public static final WDLocator.WDType LINK
public static final WDLocator.WDType LINK_TEXT
public static final WDLocator.WDType CSS_SELECTOR
public static final WDLocator.WDType XPATH
public static WDLocator.WDType[] values()
for (WDLocator.WDType c : WDLocator.WDType.values()) System.out.println(c);
public static WDLocator.WDType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic abstract org.openqa.selenium.WebElement find(java.lang.String value, com.sebuilder.interpreter.TestRun ctx)
public abstract java.util.List<org.openqa.selenium.WebElement> findElements(java.lang.String value, com.sebuilder.interpreter.TestRun ctx)
public abstract boolean findElementNotPresent(java.lang.String value, com.sebuilder.interpreter.TestRun ctx)
public java.lang.String toString()
toString
in class java.lang.Enum<WDLocator.WDType>
public static WDLocator.WDType ofName(java.lang.String name)
Copyright © SAS Institute. All Rights Reserved.