| java.lang.Object | |
| ↳ | androidx.test.espresso.web.webdriver.DriverAtoms |
A collection of Javascript Atoms from the WebDriver project.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Clears content from an editable element.
| |||||||||||
Finds an element using the provided locatorType strategy.
| |||||||||||
Finds multiple elements given a locator strategy.
| |||||||||||
Returns the visible text beneath a given DOM element.
| |||||||||||
Finds the currently active element in the document.
| |||||||||||
Selects a subframe of the given window by it's name or id.
| |||||||||||
Selects a subframe of the current window by it's name or id.
| |||||||||||
Selects a subframe of the currently selected window by it's index.
| |||||||||||
Selects a subframe of the given window by it's index.
| |||||||||||
Simulates the javascript events to click on a particular element.
| |||||||||||
Simulates javascript key events sent to a certain element.
| |||||||||||
Returns
true if the desired element is in view after scrolling. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
| |||||||||||
Clears content from an editable element.
| Returns | |
|---|---|
Atom<Evaluation> |
|
Finds an element using the provided locatorType strategy.
| Parameters | |
|---|---|
locator |
Locator |
value |
String |
| Returns | |
|---|---|
Atom<ElementReference> |
|
Finds multiple elements given a locator strategy.
| Parameters | |
|---|---|
locator |
Locator |
value |
String |
| Returns | |
|---|---|
Atom<List<ElementReference>> |
|
Finds the currently active element in the document.
| Returns | |
|---|---|
Atom<ElementReference> |
|
Selects a subframe of the given window by it's name or id.
| Parameters | |
|---|---|
idOrName |
String |
root |
WindowReference |
| Returns | |
|---|---|
Atom<WindowReference> |
|
Selects a subframe of the current window by it's name or id.
| Parameters | |
|---|---|
idOrName |
String |
| Returns | |
|---|---|
Atom<WindowReference> |
|
Selects a subframe of the currently selected window by it's index.
| Parameters | |
|---|---|
index |
int |
| Returns | |
|---|---|
Atom<WindowReference> |
|
Selects a subframe of the given window by it's index.
| Parameters | |
|---|---|
index |
int |
root |
WindowReference |
| Returns | |
|---|---|
Atom<WindowReference> |
|
Simulates the javascript events to click on a particular element.
| Returns | |
|---|---|
Atom<Evaluation> |
|
Simulates javascript key events sent to a certain element.
| Parameters | |
|---|---|
text |
String |
| Returns | |
|---|---|
Atom<Evaluation> |
|