com.opera.core.systems
Enum OperaAtoms
java.lang.Object
java.lang.Enum<OperaAtoms>
com.opera.core.systems.OperaAtoms
- All Implemented Interfaces:
- Serializable, Comparable<OperaAtoms>
public enum OperaAtoms
- extends Enum<OperaAtoms>
The WebDriver atoms are used to ensure consistent behaviour cross-browser.
CLEAR
public static final OperaAtoms CLEAR
CLICK
public static final OperaAtoms CLICK
EXECUTE_SCRIPT
public static final OperaAtoms EXECUTE_SCRIPT
EXECUTE_ASYNC_SCRIPT
public static final OperaAtoms EXECUTE_ASYNC_SCRIPT
FIND_ELEMENT
public static final OperaAtoms FIND_ELEMENT
FIND_ELEMENTS
public static final OperaAtoms FIND_ELEMENTS
GET_ATTRIBUTE
public static final OperaAtoms GET_ATTRIBUTE
GET_EFFECTIVE_STYLE
public static final OperaAtoms GET_EFFECTIVE_STYLE
GET_LOCATION
public static final OperaAtoms GET_LOCATION
GET_SIZE
public static final OperaAtoms GET_SIZE
GET_TEXT
public static final OperaAtoms GET_TEXT
IS_DISPLAYED
public static final OperaAtoms IS_DISPLAYED
IS_ENABLED
public static final OperaAtoms IS_ENABLED
IS_SELECTED
public static final OperaAtoms IS_SELECTED
SUBMIT
public static final OperaAtoms SUBMIT
GET_FRAME_INDEX
public static final OperaAtoms GET_FRAME_INDEX
values
public static OperaAtoms[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (OperaAtoms c : OperaAtoms.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static OperaAtoms valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
getValue
public String getValue()
toString
public String toString()
- Overrides:
toString in class Enum<OperaAtoms>
get
public static String get(String key)
Copyright © 2012. All Rights Reserved.