awaitAnimationEnd

suspend fun awaitAnimationEnd(stableFor: Duration = 500.milliseconds, timeout: Duration = device.timeouts.wait)(source)

Maestro's waitForAnimationToEnd, on request only: this package's window pixels have not changed (beyond 0.5 %) for stableFor. Costs one screenshot per 100 ms while waiting.