Skip to main content

Appium WebdriverIO

Use this guide when WebdriverIO orchestrates Appium tests for Android or iOS. Accessibility is enabled on the remote options object, and you call lambda-accessibility-scan from async tests or hooks.

Prerequisites

  • WebdriverIO + @wdio/appium-service (or your chosen runner) configured for TestMu AI
  • App artifact available to the grid
  • Accessibility entitlement

Onboarding path

1. Set capabilities in wdio.conf.ts (or .js)

export const config = {
capabilities: [{
platformName: 'Android',
'appium:deviceName': 'Pixel.*',
'appium:app': 'lt://APP_ID',
'accessibility': true,
// 'accessibility.autoscan': true,
}],
// host/user/key per your standard WDIO LambdaTest preset
};

Match keys to your Appium server version (appium: prefix for W3C caps).

2. Call the hook after screens load

await browser.execute('lambda-accessibility-scan');

Use WDIO’s waitUntil patterns before executing the hook so dynamic content is present.

3. Run the suite

npx wdio run wdio.conf.ts

4. Review Accessibility results

Same dashboard path as other mobile automation (overview).

Troubleshooting

SymptomWhat to check
execute undefinedEnsure the session is still active and you are not using a mocked driver in unit tests.
No reportMissing accessibility: true or hook never awaited.

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

Book Demo

Help and Support

Related Articles