until
yosoi.browser.until
def until(expectation: UntilExpectation | LocalRustAssertion, *, trigger: Step | None=None) -> UntilStep:
Declare an expectation wait around an optional one-shot trigger.
The trigger and wait share the execution deadline. Cancellation preserves execution facts and does not roll back effects.
Args: expectation: Typed expectation or locally bound Contract assertion. trigger: Optional Click, EnterText, or JavaScript trigger.
Returns: UntilStep; observation begins before trigger dispatch.