AccessibilityExpectation
yosoi.browser.AccessibilityExpectation
class AccessibilityExpectation(WaitExpectation):
Observe an accessible name and optional role during Until.
Attributes: kind: Wire discriminator identifying this declaration. name: Nonblank accessible name bounded to 4,096 UTF-8 bytes. role: Optional nonblank accessibility role bounded to 128 UTF-8 bytes.
Source: python/yosoi/browser.py:322
Base classes
Section titled “Base classes”Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.
Fields and class attributes
Section titled “Fields and class attributes”kind: Literal['accessibility'] = 'accessibility'
name: StrictStr = Field(min_length=1, max_length=4096)
role: StrictStr | None = None