Actions
click
Clicks the located element. Upstream docsfill
Fills out the input identified by the locator.The type of the input is determined at runtime and the appropriate fill-out
method is chosen based on the type. contenteditable, select, textarea and
input elements are supported.
hover
Hovers over the located element. Upstream docsscroll
Scrolls the located element. Upstream docsQueries
filter
Creates an expectation that is evaluated against located values.If the expectations do not match, then the locator will retry.
For RPC, the predicate function is serialized as a string.
Return value
Waiting
wait
Waits for the locator to get the serialized value from the page.Note this requires the value to be JSON-serializable.
If a mapper was applied via map(), returns the mapped value.
Return value
waitHandle
Waits for the locator to get a handle from the page. Upstream docsReturn value
Other
map
Maps the locator using the provided mapper function.For RPC, the mapper function is serialized as a string.
The result is returned when wait() is called.
Return value

