snapshots

suspend fun snapshots(timeout: Duration = device.timeouts.action): List<ElementSnapshot>(source)

One read of current matches in accessibility order (window order, then children before parents). Empty is valid. Not an atomic UI transaction. Staleness fails the whole read; over 1000 matches / 1 MiB fails with PAYLOAD_TOO_LARGE, never silent truncation.