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.
Files changed (32) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +20 -0
  3. package/WebDriverAgentMac/IntegrationTests/AMAccessibilityAuditTests.m +63 -0
  4. package/WebDriverAgentMac/WebDriverAgentLib/Categories/XCUIApplication+AMAccessibilityAudit.h +38 -0
  5. package/WebDriverAgentMac/WebDriverAgentLib/Categories/XCUIApplication+AMAccessibilityAudit.m +133 -0
  6. package/WebDriverAgentMac/WebDriverAgentLib/Commands/FBCustomCommands.m +14 -0
  7. package/WebDriverAgentMac/WebDriverAgentMac.xcodeproj/project.pbxproj +12 -0
  8. package/build/lib/commands/audit.d.ts +17 -0
  9. package/build/lib/commands/audit.d.ts.map +1 -0
  10. package/build/lib/commands/audit.js +16 -0
  11. package/build/lib/commands/audit.js.map +1 -0
  12. package/build/lib/driver.d.ts +8 -0
  13. package/build/lib/driver.d.ts.map +1 -1
  14. package/build/lib/driver.js +2 -0
  15. package/build/lib/driver.js.map +1 -1
  16. package/build/lib/execute-method-map.d.ts +6 -0
  17. package/build/lib/execute-method-map.d.ts.map +1 -1
  18. package/build/lib/execute-method-map.js +6 -0
  19. package/build/lib/execute-method-map.js.map +1 -1
  20. package/build/lib/index.d.ts +4 -0
  21. package/build/lib/index.d.ts.map +1 -0
  22. package/build/{index.js → lib/index.js} +1 -1
  23. package/build/lib/index.js.map +1 -0
  24. package/lib/commands/audit.ts +25 -0
  25. package/lib/driver.ts +2 -0
  26. package/lib/execute-method-map.ts +6 -0
  27. package/lib/index.ts +4 -0
  28. package/npm-shrinkwrap.json +339 -1792
  29. package/package.json +4 -6
  30. package/build/index.d.ts +0 -4
  31. package/build/index.d.ts.map +0 -1
  32. 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
@@ -0,0 +1,4 @@
1
+ import {Mac2Driver} from './driver';
2
+
3
+ export default Mac2Driver;
4
+ export {Mac2Driver};