Skip to content
YosoiDocs

UntilStep

yosoi.browser.UntilStep

class UntilStep(ImmutableModel):

Observe an expectation around an optional one-shot trigger.

Observers start before dispatching the trigger. Trigger and observation share a bounded execution scope; cancellation does not undo the dispatched action.

Attributes: kind: Wire discriminator identifying this declaration. trigger: Optional Click, EnterText, Evaluate, EvaluateFile, or EvaluateModule action. expectation: DOM, accessibility, network, Contract, or combined expectation.

Source: python/yosoi/browser.py:443

Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.

kind: Literal['until'] = 'until'
trigger: Step | None = None
expectation: UntilExpectation