| java.lang.Object | |
| ↳ | androidx.test.espresso.web.model.Atoms |
Utility class wrapping simple and more commonly used atoms.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a transformer which will convert an Evaluation to a given type (or die trying).
| |||||||||||
Returns the value of document.location.href.
| |||||||||||
Returns the value of document.title.
| |||||||||||
Creates an atom that will execute the provided script and return an object created by the given
transformer.
| |||||||||||
Creates an atom that will execute the provided script and return an evaluation object.
| |||||||||||
Creates an atom that will execute the provided script with the given non-contextual arguments.
| |||||||||||
Creates an atom which wraps the input atom and transforms its output using the given
transformer.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
| |||||||||||
Creates a transformer which will convert an Evaluation to a given type (or die trying).
| Parameters | |
|---|---|
clazz |
Class |
| Returns | |
|---|---|
Transformer<Evaluation, E> |
|
Creates an atom that will execute the provided script and return an object created by the given transformer.
| Parameters | |
|---|---|
script |
String |
transformer |
Transformer |
| Returns | |
|---|---|
Atom<O> |
|
Creates an atom that will execute the provided script and return an evaluation object.
| Parameters | |
|---|---|
script |
String |
| Returns | |
|---|---|
Atom<Evaluation> |
|
Creates an atom that will execute the provided script with the given non-contextual arguments.
| Parameters | |
|---|---|
script |
String |
args |
List |
| Returns | |
|---|---|
Atom<Evaluation> |
|
Creates an atom which wraps the input atom and transforms its output using the given transformer.
| Parameters | |
|---|---|
in |
Atom |
transformer |
Transformer |
| Returns | |
|---|---|
Atom<O> |
|