Skip to content
YosoiDocs

TriggerStep

yosoi.browser.TriggerStep

class TriggerStep(ImmutableModel):

A one-shot action that can be followed by a bounded expectation wait.

Source: python/yosoi/browser.py:139

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

def until(self, expectation: UntilExpectation | LocalRustAssertion) -> UntilStep:

Observe an expectation around this one-shot action.

Args: expectation: Typed expectation or locally bound Contract assertion.

Returns: Until declaration that registers observers before dispatching this trigger.

Source: python/yosoi/browser.py:142