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.

SHAFT Locator Builder

Build element locators fluently with SHAFT's Locator Builder — combine tag, attribute, text, and class conditions for readable, maintainable locators.

Smart Locators

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