webdriverio
Version:
Next-gen browser and mobile automation test framework for Node.js
14 lines • 599 B
TypeScript
/**
* Role and accessible name computation for the page, from
* `dom-accessibility-api` (the implementation Testing Library uses). The
* compiler bundles this file into `WDIO_A11Y_SCRIPT`, which the `role/`
* selector injects when the WebDriver BiDi accessibility locator is not
* available.
*/
import { computeAccessibleName, getRole, isInaccessible } from 'dom-accessibility-api';
export interface AccessibilityApi {
computeAccessibleName: typeof computeAccessibleName;
getRole: typeof getRole;
isInaccessible: typeof isInaccessible;
}
//# sourceMappingURL=accessibility.d.ts.map