Alert Actions
Handle browser alert dialogs — accept, dismiss, read text, and type into prompt alerts using SHAFT Engine.
Handle browser alert dialogs — accept, dismiss, read text, and type into prompt alerts using SHAFT Engine.
Run SHAFT element actions concurrently using Java virtual threads — improve test speed with non-blocking parallel interactions.
Configure SHAFT Engine properties for web browser automation — browser type, headless mode, timeouts, proxy, and visual reporting.
Navigate pages, manage windows, handle cookies, capture screenshots, and control the browser using SHAFT Engine's BrowserActions API.
Interact with web elements using SHAFT Engine — click, type, drag and drop, select from dropdowns, handle iframes, and more.
Locate web elements using ID, CSS selectors, XPath, SHAFT Locator Builder, relative locators, shadow DOM, iframes, By objects vs @FindBy, dynamic locators, and cross-platform Android/iOS locators.
Use trust-gated natural-language browser, element, and touch actions through SHAFT Engine.
Use SHAFT GUI actions and assertions through the Microsoft Playwright Java backend.
One Java automation engine for Web, Mobile, API, CLI, and Database testing.
SHAFT Engine infrastructure tips — native WebDriver access, custom browser capabilities, mobile emulation, local and Kubernetes Selenium Grid, network mocking, cookies and cached authentication, accessibility testing, Jira integration, and visual testing.
SHAFT Engine locator tips — ARIA role-based locators, self-healing locators (SHAFT Heal and legacy Healenium), Shadow DOM, the SHAFT Locator Builder, Smart Locators, and iframe handling.
SHAFT Engine synchronization tips — explicit element and browser wait strategies, custom condition waits, and clipboard action sequencing.
Record browser and SHAFT.API traffic, replay captured responses, and validate live traffic against deterministic contracts.
A minimal SHAFT browser test with lifecycle, actions, and assertions.