org.openqa.selenium.android.library
Enum AndroidAtoms

java.lang.Object
  extended by java.lang.Enum<AndroidAtoms>
      extended by org.openqa.selenium.android.library.AndroidAtoms
All Implemented Interfaces:
Serializable, Comparable<AndroidAtoms>

public enum AndroidAtoms
extends Enum<AndroidAtoms>

The WebDriver atoms are used to ensure consistent behaviour cross-browser.


Enum Constant Summary
ACTIVE_ELEMENT
           
CLEAR
           
CLEAR_LOCAL_STORAGE
           
CLEAR_SESSION_STORAGE
           
CLICK
           
DEFAULT_CONTENT
           
EXECUTE_SCRIPT
           
FIND_ELEMENT
           
FIND_ELEMENTS
           
FRAME_BY_ID_OR_NAME
           
FRAME_BY_INDEX
           
GET_APPCACHE_STATUS
           
GET_ATTRIBUTE_VALUE
           
GET_FRAME_WINDOW
           
GET_LOCAL_STORAGE_ITEM
           
GET_LOCAL_STORAGE_KEYS
           
GET_LOCAL_STORAGE_SIZE
           
GET_SESSION_STORAGE_ITEM
           
GET_SESSION_STORAGE_KEYS
           
GET_SESSION_STORAGE_SIZE
           
GET_SIZE
           
GET_TEXT
           
GET_TOP_LEFT_COORDINATES
           
GET_VALUE_OF_CSS_PROPERTY
           
IS_DISPLAYED
           
IS_ENABLED
           
IS_SELECTED
           
REMOVE_LOCAL_STORAGE_ITEM
           
REMOVE_SESSION_STORAGE_ITEM
           
SET_LOCAL_STORAGE_ITEM
           
SET_SESSION_STORAGE_ITEM
           
SUBMIT
           
 
Method Summary
static String get(String key)
           
 String getValue()
           
 String toString()
           
static AndroidAtoms valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AndroidAtoms[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

EXECUTE_SCRIPT

public static final AndroidAtoms EXECUTE_SCRIPT

ACTIVE_ELEMENT

public static final AndroidAtoms ACTIVE_ELEMENT

CLEAR

public static final AndroidAtoms CLEAR

CLEAR_LOCAL_STORAGE

public static final AndroidAtoms CLEAR_LOCAL_STORAGE

CLEAR_SESSION_STORAGE

public static final AndroidAtoms CLEAR_SESSION_STORAGE

CLICK

public static final AndroidAtoms CLICK

DEFAULT_CONTENT

public static final AndroidAtoms DEFAULT_CONTENT

FIND_ELEMENT

public static final AndroidAtoms FIND_ELEMENT

FIND_ELEMENTS

public static final AndroidAtoms FIND_ELEMENTS

FRAME_BY_ID_OR_NAME

public static final AndroidAtoms FRAME_BY_ID_OR_NAME

FRAME_BY_INDEX

public static final AndroidAtoms FRAME_BY_INDEX

GET_ATTRIBUTE_VALUE

public static final AndroidAtoms GET_ATTRIBUTE_VALUE

GET_FRAME_WINDOW

public static final AndroidAtoms GET_FRAME_WINDOW

GET_LOCAL_STORAGE_ITEM

public static final AndroidAtoms GET_LOCAL_STORAGE_ITEM

GET_LOCAL_STORAGE_KEYS

public static final AndroidAtoms GET_LOCAL_STORAGE_KEYS

GET_LOCAL_STORAGE_SIZE

public static final AndroidAtoms GET_LOCAL_STORAGE_SIZE

GET_SESSION_STORAGE_ITEM

public static final AndroidAtoms GET_SESSION_STORAGE_ITEM

GET_SESSION_STORAGE_KEYS

public static final AndroidAtoms GET_SESSION_STORAGE_KEYS

GET_SESSION_STORAGE_SIZE

public static final AndroidAtoms GET_SESSION_STORAGE_SIZE

GET_SIZE

public static final AndroidAtoms GET_SIZE

GET_TEXT

public static final AndroidAtoms GET_TEXT

GET_TOP_LEFT_COORDINATES

public static final AndroidAtoms GET_TOP_LEFT_COORDINATES

GET_VALUE_OF_CSS_PROPERTY

public static final AndroidAtoms GET_VALUE_OF_CSS_PROPERTY

IS_DISPLAYED

public static final AndroidAtoms IS_DISPLAYED

IS_ENABLED

public static final AndroidAtoms IS_ENABLED

IS_SELECTED

public static final AndroidAtoms IS_SELECTED

REMOVE_LOCAL_STORAGE_ITEM

public static final AndroidAtoms REMOVE_LOCAL_STORAGE_ITEM

REMOVE_SESSION_STORAGE_ITEM

public static final AndroidAtoms REMOVE_SESSION_STORAGE_ITEM

SET_LOCAL_STORAGE_ITEM

public static final AndroidAtoms SET_LOCAL_STORAGE_ITEM

SET_SESSION_STORAGE_ITEM

public static final AndroidAtoms SET_SESSION_STORAGE_ITEM

SUBMIT

public static final AndroidAtoms SUBMIT

GET_APPCACHE_STATUS

public static final AndroidAtoms GET_APPCACHE_STATUS
Method Detail

values

public static AndroidAtoms[] 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 (AndroidAtoms c : AndroidAtoms.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AndroidAtoms 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<AndroidAtoms>

get

public static String get(String key)


Copyright © 2013. All Rights Reserved.