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 locatorType 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
From class java.lang.Object
From interface java.lang.Comparable

Enum values

CLASS_NAME

Locator CLASS_NAME

CSS_SELECTOR

Locator CSS_SELECTOR

ID

Locator ID

Locator LINK_TEXT

NAME

Locator NAME

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[]