appium-xcuitest-driver
Version:
Appium driver for iOS using XCUITest for backend
18 lines • 841 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.mobilePerformAccessibilityAudit = mobilePerformAccessibilityAudit;
/**
* Performs accessibility audit of the current application according to the given type or multiple types.
*
* @since Xcode 15/iOS 17
* @param auditTypes - One or more type names to perform the audit for.
* The full list of available names could be found at
* https://developer.apple.com/documentation/xctest/xcuiaccessibilityaudittype?language=objc
* If no type if provided explicitly then XCUIAccessibilityAuditTypeAll is assumed.
*
* @returns List of found issues or an empty list
*/
async function mobilePerformAccessibilityAudit(auditTypes) {
return await this.proxyCommand('/wda/performAccessibilityAudit', 'POST', { auditTypes });
}
//# sourceMappingURL=audit.js.map