Skip to main content

14 docs tagged with "web"

View all tags

Alert Actions

Handle browser alert dialogs — accept, dismiss, read text, and type into prompt alerts using SHAFT Engine.

Async Element Actions

Run SHAFT element actions concurrently using Java virtual threads — improve test speed with non-blocking parallel interactions.

Basic Configuration for Web GUI

Configure SHAFT Engine properties for web browser automation — browser type, headless mode, timeouts, proxy, and visual reporting.

Browser Actions

Navigate pages, manage windows, handle cookies, capture screenshots, and control the browser using SHAFT Engine's BrowserActions API.

Element Actions

Interact with web elements using SHAFT Engine — click, type, drag and drop, select from dropdowns, handle iframes, and more.

Element Identification

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.

Playwright Backend

Use SHAFT GUI actions and assertions through the Microsoft Playwright Java backend.

SHAFT at a glance

One Java automation engine for Web, Mobile, API, CLI, and Database testing.

Tips: Infrastructure, Network, and Visual

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.

Tips: Locators and Self-Healing

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.

Tips: Waits and Synchronization

SHAFT Engine synchronization tips — explicit element and browser wait strategies, custom condition waits, and clipboard action sequencing.

UI and API contract replay

Record browser and SHAFT.API traffic, replay captured responses, and validate live traffic against deterministic contracts.

Web testing

A minimal SHAFT browser test with lifecycle, actions, and assertions.