Skip to main content

4 docs tagged with "locator"

View all tags

ARIA Role-Based Locators

Locate elements by ARIA roles in SHAFT Engine for more resilient, accessible tests — use Role enum values like BUTTON, SEARCHBOX, DIALOG, and NAVIGATION.

Shadow DOM Locator Builder

Locate and interact with elements inside Shadow DOM using SHAFT Engine's Locator Builder — no JavaScript execution needed, supports nested shadow roots.

SHAFT Locator Builder

Build element locators fluently with SHAFT's Locator Builder — combine tag, attribute, text, class, and image conditions for readable, maintainable locators without writing XPath or CSS selectors.

Smart Locators

Locate form inputs and clickable elements by semantic meaning in SHAFT Engine — use inputField() and clickableField() for readable, user-centric locators.