pub fn validate(input: &ComputerWait) -> Result<(), String>Expand description
Input validation for computer_wait: an element target (selector +
exactly one app scope), a 1-based nth, and a timeout within the cap.
ยงErrors
Returns Err for a missing/blank selector, name and pid
together, no app scope at all, a 0-based nth, or a timeout_ms
above MAX_WAIT_MS.