public enum CommandType extends Enum<CommandType> implements CrType
| Modifier and Type | Method and Description |
|---|---|
Class<? extends CommandData> |
getCrClass()
Get the class that provides this type of command/response
|
static CommandType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandType NONE
public static final CommandType BACK
public static final CommandType CHAIN
public static final CommandType CLICK
public static final CommandType COUNT
public static final CommandType DELETE
public static final CommandType EXIT
public static final CommandType FILL_FIELD
public static final CommandType FORM_SUBMIT
public static final CommandType FORWARD
public static final CommandType GET_COOKIE
public static final CommandType GET_COOKIE_FILE
public static final CommandType GET_COOKIES
public static final CommandType GET_URL
public static final CommandType GO_TO
public static final CommandType READ_ATTRIBUTE
public static final CommandType READ_TEXT
public static final CommandType SEND_KEY
public static final CommandType SEND_KEYS
public static final CommandType START
public static final CommandType WAIT
public static final CommandType ALERT_PRESENT_WAIT
public static final CommandType AND_WAIT
public static final CommandType ATTRIBUTE_CONTAINS_WAIT
public static final CommandType ATTRIBUTE_IS_WAIT
public static final CommandType ATTRIBUTE_IS_NOT_EMPTY_WAIT
public static final CommandType ELEMENT_SELECTION_STATE_IS_WAIT
public static final CommandType ELEMENT_CLICKABLE_WAIT
public static final CommandType SWITCH_TO_FRAME_WHEN_AVAILABLE_WAIT
public static final CommandType ELEMENT_INVISIBLE_WAIT
public static final CommandType ALL_ELEMENTS_INVISBLE_WAIT
public static final CommandType ELEMENT_WITH_TEXT_INVISIBLE_WAIT
public static final CommandType JAVASCRIPT_THROWS_NO_EXCEPTIONS_WAIT
public static final CommandType JAVASCRIPT_RETURNS_STRING_WAIT
public static final CommandType NOT_WAIT
public static final CommandType ELEMENT_COUNT_IS_WAIT
public static final CommandType ELEMENT_COUNT_LESS_THAN_WAIT
public static final CommandType ELEMENT_COUNT_GREATER_THAN_WAIT
public static final CommandType WINDOW_COUNT_IS_WAIT
public static final CommandType OR_WAIT
public static final CommandType ALL_ELEMENTS_PRESENT_WAIT
public static final CommandType ELEMENT_PRESENT_WAIT
public static final CommandType NESTED_ELEMENT_PRESENT_WAIT
public static final CommandType NESTED_ELEMENTS_PRESENT_WAIT
public static final CommandType REFRESHED_WAIT
public static final CommandType IS_STALE_WAIT
public static final CommandType TEXT_MATCHES_WAIT
public static final CommandType TEXT_IS_WAIT
public static final CommandType TEXT_PRESENT_IN_ELEMENT_WAIT
public static final CommandType TEXT_IN_ELEMENT_VALUE_WAIT
public static final CommandType TITLE_CONTAINS_WAIT
public static final CommandType TITLE_IS_WAIT
public static final CommandType URL_CONTAINS_WAIT
public static final CommandType URL_MATCHES_WAIT
public static final CommandType URL_IS_WAIT
public static final CommandType ELEMENT_VISIBLE_WAIT
public static final CommandType ALL_ELEMENTS_VISIBLE_WAIT
public static final CommandType NESTED_ELEMENTS_VISIBLE_WAIT
public static CommandType[] values()
for (CommandType c : CommandType.values()) System.out.println(c);
public static CommandType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Class<? extends CommandData> getCrClass()
CrTypegetCrClass in interface CrTypeResponse/CommandData class that
provides this response/commandCopyright © 2017. All rights reserved.