appium-mac2-driver 3.2.16 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +20 -0
- package/WebDriverAgentMac/IntegrationTests/AMAccessibilityAuditTests.m +63 -0
- package/WebDriverAgentMac/WebDriverAgentLib/Categories/XCUIApplication+AMAccessibilityAudit.h +38 -0
- package/WebDriverAgentMac/WebDriverAgentLib/Categories/XCUIApplication+AMAccessibilityAudit.m +133 -0
- package/WebDriverAgentMac/WebDriverAgentLib/Commands/FBCustomCommands.m +14 -0
- package/WebDriverAgentMac/WebDriverAgentMac.xcodeproj/project.pbxproj +12 -0
- package/build/lib/commands/audit.d.ts +17 -0
- package/build/lib/commands/audit.d.ts.map +1 -0
- package/build/lib/commands/audit.js +16 -0
- package/build/lib/commands/audit.js.map +1 -0
- package/build/lib/driver.d.ts +8 -0
- package/build/lib/driver.d.ts.map +1 -1
- package/build/lib/driver.js +2 -0
- package/build/lib/driver.js.map +1 -1
- package/build/lib/execute-method-map.d.ts +6 -0
- package/build/lib/execute-method-map.d.ts.map +1 -1
- package/build/lib/execute-method-map.js +6 -0
- package/build/lib/execute-method-map.js.map +1 -1
- package/build/lib/index.d.ts +4 -0
- package/build/lib/index.d.ts.map +1 -0
- package/build/{index.js → lib/index.js} +1 -1
- package/build/lib/index.js.map +1 -0
- package/lib/commands/audit.ts +25 -0
- package/lib/driver.ts +2 -0
- package/lib/execute-method-map.ts +6 -0
- package/lib/index.ts +4 -0
- package/npm-shrinkwrap.json +339 -1792
- package/package.json +4 -6
- package/build/index.d.ts +0 -4
- package/build/index.d.ts.map +0 -1
- package/build/index.js.map +0 -1
package/lib/driver.ts
CHANGED
|
@@ -18,6 +18,7 @@ import MAC2_CONSTRAINTS, {type Mac2Constraints} from './constraints';
|
|
|
18
18
|
import * as appManagemenetCommands from './commands/app-management';
|
|
19
19
|
import * as appleScriptCommands from './commands/applescript';
|
|
20
20
|
import * as executeCommands from './commands/execute';
|
|
21
|
+
import * as auditCommands from './commands/audit';
|
|
21
22
|
import * as findCommands from './commands/find';
|
|
22
23
|
import * as gesturesCommands from './commands/gestures';
|
|
23
24
|
import * as navigationCommands from './commands/navigation';
|
|
@@ -247,6 +248,7 @@ export class Mac2Driver
|
|
|
247
248
|
|
|
248
249
|
macosGetClipboard = clipboardCommands.macosGetClipboard;
|
|
249
250
|
macosSetClipboard = clipboardCommands.macosSetClipboard;
|
|
251
|
+
macosPerformAccessibilityAudit = auditCommands.macosPerformAccessibilityAudit;
|
|
250
252
|
|
|
251
253
|
macosDeepLink = navigationCommands.macosDeepLink;
|
|
252
254
|
|
|
@@ -235,4 +235,10 @@ export const executeMethodMap = {
|
|
|
235
235
|
optional: ['contentType'],
|
|
236
236
|
},
|
|
237
237
|
},
|
|
238
|
+
'macos: performAccessibilityAudit': {
|
|
239
|
+
command: 'macosPerformAccessibilityAudit',
|
|
240
|
+
params: {
|
|
241
|
+
optional: ['auditTypes'],
|
|
242
|
+
},
|
|
243
|
+
},
|
|
238
244
|
} as const satisfies ExecuteMethodMap<any>;
|
package/lib/index.ts
ADDED