public static enum Locator.Type extends java.lang.Enum<Locator.Type>
| Enum Constant and Description |
|---|
CSS_SELECTOR |
ID |
LINK_TEXT |
NAME |
XPATH |
| Modifier and Type | Method and Description |
|---|---|
abstract org.openqa.selenium.WebElement |
find(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 Locator.Type |
ofName(java.lang.String name) |
java.lang.String |
toString() |
static Locator.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Locator.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Locator.Type ID
public static final Locator.Type NAME
public static final Locator.Type LINK_TEXT
public static final Locator.Type CSS_SELECTOR
public static final Locator.Type XPATH
public static Locator.Type[] values()
for (Locator.Type c : Locator.Type.values()) System.out.println(c);
public static Locator.Type 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 java.lang.String toString()
toString in class java.lang.Enum<Locator.Type>public static Locator.Type ofName(java.lang.String name)
Copyright © SAS Institute. All Rights Reserved.