Skip to main content

HyperExecute integration — Selenium accessibility automation

This page is the HyperExecute integration guide for Accessibility Automation when your tests use Selenium. It assumes you already run Selenium jobs on HyperExecute (YAML + CLI) and need the same accessibility session capabilities and reporting behavior on the grid—not a generic Selenium-only tutorial. For framework setup on local or other grids, start with Accessibility Automation and the Selenium setup doc.

note

Scope: Selenium test code + hyperexecute.yaml orchestration on HyperExecute. If the Accessibility tab never appears on sessions, confirm accessibility: true (and related caps) in the process HyperExecute actually runs, and that Accessibility is enabled for your organization—contact support if needed.

Prerequisites

High-level flow (HyperExecute)

  1. Keep your Selenium suite configured for HyperExecute (YAML, discovery, testRunnerCommand).
  2. Enable Accessibility capabilities in the same session options you pass to RemoteWebDriver (or equivalent)—HyperExecute forwards them like any other capability.
  3. Trigger the job with the HyperExecute CLI using your YAML.
  4. When the build finishes, open the session in the Automation dashboard and use the Accessibility tab for the report.

Onboarding checklist (first HE + Accessibility run)

  1. Confirm Selenium on HyperExecute already runs a green build without Accessibility (isolate grid/YAML issues first).
  2. Add the same capability keys you would use locally: accessibility: true, optional accessibility.wcagVersion, accessibility.bestPractice, accessibility.needsReview, and either lambda-accessibility-scan hooks in code or accessibility.autoscan (settings reference).
  3. Propagate credentials in the HyperExecute job the same way as your other HE runs (LT_USERNAME / LT_ACCESS_KEY in env or secrets).
  4. Run a short suite (one class or smoke tag) so the HE dashboard shows a single session to inspect.
  5. Open the Automation Dashboard → session → Accessibility tab. If the tab is missing, verify the session capabilities in the build log.

YAML and test code (integration point)

HyperExecute does not replace Selenium capabilities—it orchestrates the same test JAR or Node project. The integration work is making sure the command HyperExecute runs is the profile that sets accessibility caps. Ensure:

  • Your test process still loads the code path that sets accessibility on RemoteWebDriver / options.
  • Discovery in hyperexecute.yaml points at the same mvn/gradle/npm command you use locally for Accessibility runs.

Example pattern (illustrative only—adapt to your repo’s actual runson, pre, and testRunnerCommand):

version: 0.1
runson: linux
testSuiteStep: 90
pre:
- npm install # or mvn dependency:go-offline
testRunnerCommand: npm run test:a11y # must invoke tests that set accessibility caps

If your team keeps caps in environment-specific property files, inject those files or env vars in pre or env blocks so CI matches local.

When something fails

SymptomWhat to check
HE green but no Accessibility tabSession never received accessibility: true; confirm the command HyperExecute ran is the Accessibility-enabled profile.
TimeoutsAuto-scan on heavy SPAs increases duration; switch to hook-based scans for critical paths only.

Test across 3000+ combinations of browsers, real devices & OS.

Book Demo

Help and Support

Related Articles