v3.1.0 — Accessibility-First Locators
Playwright-style accessibility-first locators on BaseTest and BasePage — they target the accessibility tree the user perceives instead of brittle CSS/DOM structure, so tests survive redesigns.
getByRole,getByText,getByLabel,getByPlaceholder,getByTestId,getByAltText,getByTitle— all flow through the existing auto-waitLocatorchain (noThread.sleep, no explicit waits)getByRole(Role)— 38 WAI-ARIA roles, matching implicit HTML elements (<button>,<a href>,<h1>…) and explicitrole="…"; refine with.withName("Submit")and.withLevel(1)- Case-insensitive substring by default, exact opt-in via
.exact() toBy()escape hatch returns the synthesized SeleniumBy- Configurable test-id attribute (
locators.testIdAttribute, defaultdata-testid)
See CHANGELOG.md for details.