Summary: Enums | Methods | Inherited Methods | [Expand All]

# Locator

`public final enum Locator`
`` `extends Enum<Locator>` ``

java.lang.Object
↳ | java.lang.Enum<android.support.test.espresso.web.webdriver.Locator>
| ↳ | android.support.test.espresso.web.webdriver.Locator

Valid WebDriver locator types.

## Summary

### Enum values
`Locator` | `CLASS_NAME`
`Locator` | `CSS_SELECTOR`
`Locator` | `ID`
`Locator` | `LINK_TEXT`
`Locator` | `NAME`
`Locator` | `PARTIAL_LINK_TEXT`
`Locator` | `TAG_NAME`
`Locator` | `XPATH`

### Public methods
`String` | `getType()`
`static Locator` | `valueOf(String name)`
`static final Locator[]` | `values()`

### Inherited methods
From class `java.lang.Enum`
`final Object` | `clone()`
`final int` | `compareTo(Locator arg0)`
`int` | `compareTo(Object arg0)`
`final boolean` | `equals(Object arg0)`
`final void` | `finalize()`
`final Class<Locator>` | `getDeclaringClass()`
`final int` | `hashCode()`
`final String` | `name()`
`final int` | `ordinal()`
`String` | `toString()`
`static <T extends Enum<T>> T` | `valueOf(Class<T> arg0, String arg1)`
From class `java.lang.Object`
`Object` | `clone()`
`boolean` | `equals(Object arg0)`
`void` | `finalize()`
`final Class<?>` | `getClass()`
`int` | `hashCode()`
`final void` | `notify()`
`final void` | `notifyAll()`
`String` | `toString()`
`final void` | `wait(long arg0, int arg1)`
`final void` | `wait(long arg0)`
`final void` | `wait()`
From interface `java.lang.Comparable`
`abstract int` | `compareTo(Locator arg0)`

## Enum values

### CLASS_NAME

    Locator CLASS_NAME

### CSS_SELECTOR

    Locator CSS_SELECTOR

### ID

    Locator ID

### LINK_TEXT

    Locator LINK_TEXT

### NAME

    Locator NAME

### PARTIAL_LINK_TEXT

    Locator PARTIAL_LINK_TEXT

### TAG_NAME

    Locator TAG_NAME

### XPATH

    Locator XPATH

## Public methods

### getType

    String getType ()

Returns
`String` |

### valueOf

    Locator valueOf (String name)

Parameters
`name` | `String`

Returns
`Locator` |

### values

    Locator[] values ()

Returns
`Locator[]` |

- ## Classes

  - DriverAtoms

- ## Enums

  - Locator