Skip to content
YosoiDocs

Assert

yosoi.browser.Assert

class Assert(ImmutableModel):

Declare an immediate DOM condition check.

This checks one observation rather than waiting for the condition to become true.

Attributes: kind: Wire discriminator identifying this declaration. condition: Existence, visibility, or minimum-count condition to evaluate.

Source: python/yosoi/browser.py:232

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

kind: Literal['assert'] = 'assert'
condition: Condition