sootsim wait

sootsim wait

Grouping verb for explicit synchronization. Use instead of guessing with sleep. Every subverb has a bounded timeout and exits non-zero when it times out, so automations fail loudly rather than silently racing animations or missing nodes.

terminal

sootsim wait <kind> [args]

Examples

terminal

sootsim wait ready
sootsim wait idle
sootsim wait selector loginButton
sootsim wait selector feedList --max-ms 3000

Subcommands

Run sootsim wait <verb> --help for the flags and examples of any subcommand.

subcommanddescription
ready [--max-ms <ms>]block until the guest app bundle is loaded and painted
idle [--max-ms <ms>] [--strict]block until animations + rAF + layout are settled
selector <testid> [--max-ms <ms>] [--gone]block until a testID appears (or, with —gone, disappears)
event <kind> [--max-ms <ms>]block until the next timeline event of a given kind

Ready to build?

Run your React Native app in the browser. No simulators, no native toolchain, no waiting.

curl -fsSL https://sootsim.com/install.sh | sh