Skip to main content

29 docs tagged with "web"

View all tags

Accessibility Testing with axe-core

Automate accessibility audits in SHAFT Engine using axe-core — assert no critical violations, enforce minimum scores, and ignore specific rules.

Alert Actions

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

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.

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.

Clipboard Actions

Perform clipboard operations — copy, cut, paste, and select all — on web elements using SHAFT Engine's clipboardActions() method.

Custom Browser Capabilities

Add custom browser capabilities and Selenium options to SHAFT Engine WebDriver for advanced browser configuration.

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, and iframes.

Element Validations

Validate element text, attributes, existence, and state using SHAFT Engine's fluent driver-based validation API.

Element Validations

Validate web element properties such as existence, visibility, text, attributes, and visual appearance using SHAFT Engine.

Explicit Wait Strategies

Control wait behaviour in SHAFT Engine — use explicit element and browser waits for dynamic content, lazy loading, and condition-based synchronization.

iFrame Handling

Interact with embedded iframes in SHAFT Engine — switch into iframes by locator and return to the main page with switchToDefaultContent.

Mobile Emulation

Emulate mobile devices in Chrome using SHAFT Engine — preset devices like iPhone and Android, or custom screen dimensions and user-agent strings.

Native Selenium WebDriver Access

Access the native Selenium WebDriver instance from SHAFT for advanced use cases, and learn how to wrap an existing WebDriver with SHAFT capabilities.

Self-Healing Locators with Healenium

Automatically recover from broken locators in SHAFT Engine using Healenium — configure self-healing properties and reduce test maintenance overhead.

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.

Tips and Tricks

Discover advanced SHAFT Engine features — native Selenium access, custom capabilities, Locator Builder, Shadow DOM, and cookie management.

Using Cookies in Your Tests

Manage browser cookies in SHAFT tests — add, read, delete cookies and use them for authentication and session management.

Visual Testing and Image Comparison

Detect visual regressions in SHAFT Engine using built-in image comparison engines — OpenCV, ExactEyes, StrictEyes, ContentEyes, and LayoutEyes.

Web GUI Demo Projects

Working demo projects for web GUI test automation with SHAFT Engine — parallel execution, ThreadLocal driver, and Page Object Model examples.