Module simulator

Module simulator 

Source
Expand description

Run a simulation of your application without side effects.

Structs§

Simulator
A user interface that can be interacted with and inspected programmatically.
Snapshot
A frame of a user interface rendered by a Simulator.

Functions§

click
Returns the sequence of events of a click.
press_key
Returns the sequence of events of a key press.
release_key
Returns the sequence of events of a key release.
simulator
Creates a new Simulator.
tap_key
Returns the sequence of events of a “key tap” (i.e. pressing and releasing a key).
typewrite
Returns the sequence of events of typewriting the given text in a keyboard.