Skip to main content

wait

Function wait 

Source
pub async fn wait(input: &ComputerWait) -> Result<WaitOutput, String>
Expand description

Run computer_wait on tokio’s blocking pool.

§Errors

Returns Err for invalid input, an app that never surfaces, a selector that never matches, or — the point of the tool — a condition not met within the timeout. The timeout error embeds xa11y’s Diagnosis (what was waited for + the last observed state), so the failure message alone answers “why didn’t it happen?”.