Skip to content
YosoiDocs

Exists

yosoi.browser.Exists

class Exists(ImmutableModel):

Declare that at least one matching DOM element must exist.

Existence does not imply visibility, readiness, or business success.

Attributes: kind: Wire discriminator identifying this declaration. selector: CSS selector identifying elements on the current browser page.

Source: python/yosoi/browser.py:95

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

kind: Literal['exists'] = 'exists'
selector: StrictStr = Field(min_length=1, max_length=4096)