@deque/axe-appium3-webdriveragent 1.7.1 → 2.0.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 (64) hide show
  1. package/README.md +1 -1
  2. package/WebDriverAgent.xcodeproj/project.pbxproj +61 -3
  3. package/WebDriverAgentLib/Categories/XCUIApplication+FBHelpers.h +4 -1
  4. package/WebDriverAgentLib/Categories/XCUIApplication+FBHelpers.m +35 -2
  5. package/WebDriverAgentLib/Categories/XCUIDevice+FBHelpers.h +6 -0
  6. package/WebDriverAgentLib/Categories/XCUIDevice+FBHelpers.m +100 -23
  7. package/WebDriverAgentLib/Categories/XCUIDevice+FBRotation.m +8 -3
  8. package/WebDriverAgentLib/Categories/XCUIElement+FBTyping.h +7 -0
  9. package/WebDriverAgentLib/Categories/XCUIElement+FBTyping.m +20 -0
  10. package/WebDriverAgentLib/Commands/AxeAuthCommands.h +4 -0
  11. package/WebDriverAgentLib/Commands/AxeAuthCommands.m +113 -56
  12. package/WebDriverAgentLib/Commands/AxeAutoScanCommands.m +1 -7
  13. package/WebDriverAgentLib/Commands/AxeScanCommands.m +57 -315
  14. package/WebDriverAgentLib/Commands/FBCustomCommands.m +8 -0
  15. package/WebDriverAgentLib/Commands/FBElementCommands.m +12 -5
  16. package/WebDriverAgentLib/Commands/FBSessionCommands.m +1 -1
  17. package/WebDriverAgentLib/Info.plist +2 -2
  18. package/WebDriverAgentLib/Routing/FBSession.m +2 -2
  19. package/WebDriverAgentLib/Utilities/FBConfiguration.h +2 -0
  20. package/WebDriverAgentLib/Utilities/FBConfiguration.m +1 -0
  21. package/WebDriverAgentLib/Utilities/FBHIDOperations.h +41 -0
  22. package/WebDriverAgentLib/Utilities/FBHIDOperations.m +244 -0
  23. package/WebDriverAgentLib/Utilities/FBSettings.h +1 -0
  24. package/WebDriverAgentLib/Utilities/FBSettings.m +1 -0
  25. package/WebDriverAgentLib/Utilities/FBSettingsHandler.m +26 -2
  26. package/WebDriverAgentTests/IntegrationApp/Classes/ViewController.m +11 -7
  27. package/WebDriverAgentTests/IntegrationTests/FBElementAttributeTests.m +44 -0
  28. package/WebDriverAgentTests/IntegrationTests/FBTypingTest.m +33 -0
  29. package/WebDriverAgentTests/IntegrationTests/XCUIApplicationHelperTests.m +111 -0
  30. package/WebDriverAgentTests/IntegrationTests/XCUIDeviceHelperTests.m +97 -0
  31. package/WebDriverAgentTests/IntegrationTests/XCUIDeviceRotationTests.m +53 -0
  32. package/WebDriverAgentTests/IntegrationTests_tvOS/FBTVFocusIntegrationTests.m +21 -0
  33. package/WebDriverAgentTests/IntegrationTests_watchOS/WDAAppLifecycleIntegrationTests.swift +12 -0
  34. package/axeDevToolsXCUI.xcframework/Info.plist +3 -3
  35. package/axeDevToolsXCUI.xcframework/LICENSE-3RD-PARTY-axe-devtools-ios.md +1 -1
  36. package/axeDevToolsXCUI.xcframework/{axe-devtools-ios-4.3.1.cdx.json → axe-devtools-ios-5.0.0.cdx.json} +6 -6
  37. package/axeDevToolsXCUI.xcframework/{axe-devtools-ios-4.3.1.spdx.json → axe-devtools-ios-5.0.0.spdx.json} +5 -5
  38. package/axeDevToolsXCUI.xcframework/ios-arm64/axeDevToolsXCUI.framework/Headers/AxeTestBundleObserver.h +0 -1
  39. package/axeDevToolsXCUI.xcframework/ios-arm64/axeDevToolsXCUI.framework/Headers/axeDevToolsXCUI-Swift.h +82 -228
  40. package/axeDevToolsXCUI.xcframework/ios-arm64/axeDevToolsXCUI.framework/Info.plist +4 -4
  41. package/axeDevToolsXCUI.xcframework/ios-arm64/axeDevToolsXCUI.framework/Modules/axeDevToolsXCUI.swiftmodule/arm64-apple-ios.abi.json +3120 -5759
  42. package/axeDevToolsXCUI.xcframework/ios-arm64/axeDevToolsXCUI.framework/Modules/axeDevToolsXCUI.swiftmodule/arm64-apple-ios.private.swiftinterface +53 -168
  43. package/axeDevToolsXCUI.xcframework/ios-arm64/axeDevToolsXCUI.framework/Modules/axeDevToolsXCUI.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  44. package/axeDevToolsXCUI.xcframework/ios-arm64/axeDevToolsXCUI.framework/Modules/axeDevToolsXCUI.swiftmodule/arm64-apple-ios.swiftinterface +53 -168
  45. package/axeDevToolsXCUI.xcframework/ios-arm64/axeDevToolsXCUI.framework/axeDevToolsXCUI +0 -0
  46. package/axeDevToolsXCUI.xcframework/ios-arm64_x86_64-simulator/axeDevToolsXCUI.framework/Headers/AxeTestBundleObserver.h +0 -1
  47. package/axeDevToolsXCUI.xcframework/ios-arm64_x86_64-simulator/axeDevToolsXCUI.framework/Headers/axeDevToolsXCUI-Swift.h +164 -456
  48. package/axeDevToolsXCUI.xcframework/ios-arm64_x86_64-simulator/axeDevToolsXCUI.framework/Info.plist +4 -4
  49. package/axeDevToolsXCUI.xcframework/ios-arm64_x86_64-simulator/axeDevToolsXCUI.framework/Modules/axeDevToolsXCUI.swiftmodule/arm64-apple-ios-simulator.abi.json +3120 -5759
  50. package/axeDevToolsXCUI.xcframework/ios-arm64_x86_64-simulator/axeDevToolsXCUI.framework/Modules/axeDevToolsXCUI.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +53 -168
  51. package/axeDevToolsXCUI.xcframework/ios-arm64_x86_64-simulator/axeDevToolsXCUI.framework/Modules/axeDevToolsXCUI.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  52. package/axeDevToolsXCUI.xcframework/ios-arm64_x86_64-simulator/axeDevToolsXCUI.framework/Modules/axeDevToolsXCUI.swiftmodule/arm64-apple-ios-simulator.swiftinterface +53 -168
  53. package/axeDevToolsXCUI.xcframework/ios-arm64_x86_64-simulator/axeDevToolsXCUI.framework/Modules/axeDevToolsXCUI.swiftmodule/x86_64-apple-ios-simulator.abi.json +3120 -5759
  54. package/axeDevToolsXCUI.xcframework/ios-arm64_x86_64-simulator/axeDevToolsXCUI.framework/Modules/axeDevToolsXCUI.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +53 -168
  55. package/axeDevToolsXCUI.xcframework/ios-arm64_x86_64-simulator/axeDevToolsXCUI.framework/Modules/axeDevToolsXCUI.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  56. package/axeDevToolsXCUI.xcframework/ios-arm64_x86_64-simulator/axeDevToolsXCUI.framework/Modules/axeDevToolsXCUI.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +53 -168
  57. package/axeDevToolsXCUI.xcframework/ios-arm64_x86_64-simulator/axeDevToolsXCUI.framework/_CodeSignature/CodeResources +25 -25
  58. package/axeDevToolsXCUI.xcframework/ios-arm64_x86_64-simulator/axeDevToolsXCUI.framework/axeDevToolsXCUI +0 -0
  59. package/build/lib/webdriveragent.d.ts.map +1 -1
  60. package/build/lib/webdriveragent.js +1 -2
  61. package/build/lib/webdriveragent.js.map +1 -1
  62. package/build/tsconfig.tsbuildinfo +1 -1
  63. package/lib/webdriveragent.ts +1 -2
  64. package/package.json +8 -10
@@ -1,6 +1,6 @@
1
1
  // swift-interface-format-version: 1.0
2
2
  // swift-compiler-version: Apple Swift version 6.3.3 effective-5.10 (swiftlang-6.3.3.1.3 clang-2100.1.1.101)
3
- // swift-module-flags: -target arm64-apple-ios16.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature AccessLevelOnImport -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name axeDevToolsXCUI
3
+ // swift-module-flags: -target arm64-apple-ios17.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature AccessLevelOnImport -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name axeDevToolsXCUI
4
4
  // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3
5
5
  import CoreGraphics
6
6
  import CoreImage
@@ -54,12 +54,6 @@ import zlib
54
54
  }
55
55
  }
56
56
  extension axeDevToolsXCUI.AxeDevTools {
57
- @available(*, deprecated, message: "This method will be removed after the October 2026 release when the mobile dashboard is decommissioned. Use AxeDevTools.startScanSession(apiKey:axeAccountUrl:projectId:axeUploadResults:) instead; it targets the Axe Developer Hub")
58
- @objc public static func login(withAPIKey apiKey: Swift.String, toServer url: Swift.String = "") throws -> axeDevToolsXCUI.AxeDevTools
59
- @available(*, deprecated, message: "This method will be removed after the October 2026 release when the mobile dashboard is decommissioned. Use AxeDevTools.startScanSession(apiKey:axeAccountUrl:projectId:axeUploadResults:) instead; it targets the Axe Developer Hub")
60
- @objc public static func startSession(apiKey: Swift.String, url: Swift.String = "", projectId: Swift.String = "") throws -> axeDevToolsXCUI.AxeDevTools
61
- @available(*, deprecated, message: "This method will be removed after the October 2026 release when the mobile dashboard is decommissioned. Use AxeDevTools.startScanSession(withApiKey:withAxeAccountUrl:usingProjectId:axeUploadResults:_:) instead; it targets the Axe Developer Hub")
62
- @objc public static func startSession(withApiKey apiKey: Swift.String, toServer url: Swift.String = "", usingProjectId projectId: Swift.String, _ completion: @escaping (axeDevToolsXCUI.AxeDevTools?, (any Swift.Error)?) -> Swift.Void)
63
57
  @objc public static func startScanSession(apiKey: Swift.String, axeAccountUrl: Swift.String = "", projectId: Swift.String? = nil, axeUploadResults: Swift.Bool = true) throws -> axeDevToolsXCUI.AxeDevTools
64
58
  @objc public static func startScanSession(withApiKey apiKey: Swift.String, withAxeAccountUrl axeAccountUrl: Swift.String = "", usingProjectId projectId: Swift.String? = nil, axeUploadResults: Swift.Bool = true, _ completion: @escaping (axeDevToolsXCUI.AxeDevTools?, (any Swift.Error)?) -> Swift.Void)
65
59
  @available(swift, obsoleted: 1.0)
@@ -69,6 +63,25 @@ extension axeDevToolsXCUI.AxeDevTools {
69
63
  @objc public static func loginWithAccessToken(_ accessToken: Swift.String, axeAccountUrl: Swift.String = "") throws -> axeDevToolsXCUI.AxeDevTools
70
64
  @objc public static func authenticate(apiKey: Swift.String, axeAccountUrl: Swift.String = "") throws -> axeDevToolsXCUI.AxeDevTools
71
65
  }
66
+ extension axeDevToolsXCUI.AxeDevTools {
67
+ final public func ignoreRules(_ rules: axeDevToolsXCUI.AxeRuleId...)
68
+ final public func ignoreRules(_ rules: [axeDevToolsXCUI.AxeRuleId])
69
+ @available(swift, obsoleted: 1.0)
70
+ @objc(ignoreRule:) final public func objcIgnoreRule(_ rule: axeDevToolsXCUI.AxeRuleId)
71
+ @available(swift, obsoleted: 1.0)
72
+ @objc(ignoreRulesNamed:) final public func objcIgnoreRules(named names: [Swift.String])
73
+ @available(swift, obsoleted: 1.0)
74
+ @objc(ignoreRule:onElementWithId:) final public func objcIgnoreRule(_ rule: axeDevToolsXCUI.AxeRuleId, onElementWithId id: Swift.String)
75
+ @available(swift, obsoleted: 1.0)
76
+ @objc(ignoreRule:onElementOfClass:) final public func objcIgnoreRule(_ rule: axeDevToolsXCUI.AxeRuleId, onElementOfClass className: Swift.String)
77
+ @available(swift, obsoleted: 1.0)
78
+ @objc(ignoreRulesNamed:onElementWithId:) final public func objcIgnoreRules(named names: [Swift.String], onElementWithId id: Swift.String)
79
+ @available(swift, obsoleted: 1.0)
80
+ @objc(ignoreRulesNamed:onElementOfClass:) final public func objcIgnoreRules(named names: [Swift.String], onElementOfClass className: Swift.String)
81
+ final public func ignoreRules(onElementWithId id: Swift.String, _ rules: axeDevToolsXCUI.AxeRuleId...)
82
+ final public func ignoreRules(onElementOfClass className: Swift.String, _ rules: axeDevToolsXCUI.AxeRuleId...)
83
+ final public func addCustomRule(_ rule: axeDevToolsXCUI.AxeRule)
84
+ }
72
85
  @objc public enum AxeRole : Swift.Int {
73
86
  case textElement
74
87
  case control
@@ -108,8 +121,6 @@ extension axeDevToolsXCUI.AxeDevTools {
108
121
  case INCOMPLETE = 1
109
122
  case PASS = 2
110
123
  case FAIL = 3
111
- @available(*, deprecated, message: "This will be removed after the October 2026 release. Ignored rules will be skipped (no .IGNORED result will be emitted). Filter on rule absence instead.")
112
- case IGNORED = 4
113
124
  public func toString() -> Swift.String
114
125
  public init?(rawValue: Swift.Int)
115
126
  public typealias AllCases = [axeDevToolsXCUI.AxeStatus]
@@ -165,7 +176,7 @@ extension axeDevToolsXCUI.AxeDevTools {
165
176
  }
166
177
  @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc public class AutoScanManager : ObjectiveC.NSObject {
167
178
  @objc public static let shared: axeDevToolsXCUI.AutoScanManager
168
- @objc public func enable(bundleId: Swift.String, apiKey: Swift.String, axeServiceUrl: Swift.String = "", axeAccountUrl: Swift.String = "", projectId: Swift.String, uploadToDashboard: Swift.Bool, htmlReportPath: Swift.String? = nil) throws
179
+ @objc public func enable(bundleId: Swift.String, apiKey: Swift.String, axeAccountUrl: Swift.String = "", projectId: Swift.String, uploadToDashboard: Swift.Bool, htmlReportPath: Swift.String? = nil) throws
169
180
  @objc public func captureInitialContext()
170
181
  @objc public func start(with testBundle: Foundation.Bundle?)
171
182
  @discardableResult
@@ -182,11 +193,7 @@ extension axeDevToolsXCUI.AxeDevTools {
182
193
  public static func skipScan(_ body: () throws -> Swift.Void) rethrows
183
194
  @objc deinit
184
195
  }
185
- @_hasMissingDesignatedInitializers @objc public class RuleConf : ObjectiveC.NSObject, Swift.Codable {
186
- @available(*, deprecated, message: "This flag does not determine whether a rule runs by default; it will be removed in the October 2026 release.")
187
- @objc final public var experimental: Swift.Bool {
188
- @objc get
189
- }
196
+ @objc public class RuleConf : ObjectiveC.NSObject, Swift.Codable {
190
197
  @objc final public let summary: Swift.String
191
198
  final public let standard: axeDevToolsXCUI.AxeStandard
192
199
  @objc public var impact: axeDevToolsXCUI.AxeImpact {
@@ -199,9 +206,7 @@ extension axeDevToolsXCUI.AxeDevTools {
199
206
  public var successCriteria: axeDevToolsXCUI.AxeSuccessCriteria? {
200
207
  get
201
208
  }
202
- convenience public init(impact: axeDevToolsXCUI.AxeImpact, standard: axeDevToolsXCUI.AxeStandard = .bestPractice, summary: Swift.String, ruleId: Swift.String? = nil)
203
- @available(*, deprecated, message: "Experimental rules are being retired. Use init(impact:standard:summary:ruleId:) instead; this initializer will be removed in the October 2026 release.")
204
- public init(impact: axeDevToolsXCUI.AxeImpact, standard: axeDevToolsXCUI.AxeStandard = .bestPractice, summary: Swift.String, experimental: Swift.Bool, ruleId: Swift.String? = nil)
209
+ public init(impact: axeDevToolsXCUI.AxeImpact, standard: axeDevToolsXCUI.AxeStandard = .bestPractice, summary: Swift.String, ruleId: Swift.String? = nil)
205
210
  required public init(from decoder: any Swift.Decoder) throws
206
211
  public func encode(to encoder: any Swift.Encoder) throws
207
212
  @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool
@@ -223,34 +228,10 @@ public enum AxeCategory : Swift.String, Swift.Codable {
223
228
  }
224
229
  extension axeDevToolsXCUI.AxeElementType : Swift.Equatable {
225
230
  }
226
- @_hasMissingDesignatedInitializers @available(*, deprecated, message: "This will be removed after the October 2026 release when the mobile dashboard is decommissioned.")
227
- @objc public class AxeDevToolsResultKey : ObjectiveC.NSObject, Swift.Codable {
228
- @objc final public let packageName: Swift.String
229
- @objc final public let userId: Swift.String
230
- @objc final public let resultId: Swift.String
231
- @objc final public let uuid: Swift.String
232
- @objc override dynamic public var hash: Swift.Int {
233
- @objc get
234
- }
235
- @objc override dynamic public var description: Swift.String {
236
- @objc get
237
- }
238
- @objc public init?(fabTitle: Swift.String)
239
- required public init(from decoder: any Swift.Decoder) throws
240
- @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool
241
- @objc deinit
242
- public func encode(to encoder: any Swift.Encoder) throws
243
- }
244
231
  @_inheritsConvenienceInitializers @objc final public class AxeConf : ObjectiveC.NSObject, Swift.Codable {
245
- @available(*, deprecated, message: "Custom rules are moving onto AxeDevTools directly. This property will be removed after the October 2026 release, once the replacement ships. No migration is possible yet; behavior is unchanged until then.")
232
+ @available(*, unavailable, renamed: "AxeDevTools.addCustomRule(_:)", message: "Register custom rules with AxeDevTools.addCustomRule(_:). See the October 2026 migration note.")
246
233
  final public var customRules: Swift.Set<axeDevToolsXCUI.AxeRule> {
247
234
  get
248
- set
249
- }
250
- @available(*, deprecated, message: "The Supports Dynamic Type rule now runs by default. This property is no longer functional and will be removed completely in a later release. You can safely remove it from your code.")
251
- final public var optInToSupportsDynamicType: Swift.Bool {
252
- get
253
- set
254
235
  }
255
236
  @objc override final public var description: Swift.String {
256
237
  @objc get
@@ -258,13 +239,11 @@ extension axeDevToolsXCUI.AxeElementType : Swift.Equatable {
258
239
  @objc override dynamic public init()
259
240
  required public init(from decoder: any Swift.Decoder) throws
260
241
  final public func encode(to encoder: any Swift.Encoder) throws
261
- @available(*, deprecated, message: "Deprecated ahead of a shape change in the October 2026 release; see the release migration note. Behavior is unchanged until then.")
242
+ @available(*, unavailable, renamed: "AxeDevTools.ignoreRules(_:)", message: "Ignore built-in rules with typed values, e.g. axe.ignoreRules(.colorContrast). Ignoring a custom rule and switching a rule back on were removed. See the October 2026 migration note.")
262
243
  @objc final public func ignore(rule: Swift.String, _ shouldIgnore: Swift.Bool = true)
263
- @available(*, deprecated, message: "Deprecated ahead of a shape change in the October 2026 release; see the release migration note. Behavior is unchanged until then.")
244
+ @available(*, unavailable, renamed: "AxeDevTools.ignoreRules(_:)", message: "Ignore built-in rules with typed values, e.g. axe.ignoreRules(.colorContrast, .screenTitle). Ignoring a custom rule and switching a rule back on were removed. See the October 2026 migration note.")
264
245
  @objc final public func ignore(rules: [Swift.String], _ shouldIgnore: Swift.Bool = true)
265
- @available(*, deprecated, message: "Experimental rules are being retired and this method will be removed in the October 2026 release. To keep a rule off, use ignore(rule:); it is itself deprecated ahead of a shape change in that same release.")
266
- @objc final public func ignoreExperimental()
267
- @available(*, deprecated, message: "Deprecated ahead of a shape change in the October 2026 release; see the release migration note. Behavior is unchanged until then.")
246
+ @available(*, unavailable, renamed: "AxeDevTools.ignoreRules(onElementWithId:_:)", message: "Use axe.ignoreRules(onElementWithId:_:) for an accessibility identifier or axe.ignoreRules(onElementOfClass:_:) for a class name. See the October 2026 migration note.")
268
247
  @objc final public func ignore(rulesFor: [Swift.String : Swift.Set<Swift.String>])
269
248
  @objc override final public func isEqual(_ object: Any?) -> Swift.Bool
270
249
  @objc deinit
@@ -303,10 +282,6 @@ extension axeDevToolsXCUI.AxeElementType : Swift.Equatable {
303
282
  @objc final public let props: axeDevToolsXCUI.AxeProps
304
283
  @objc final public let axeViewId: Swift.String
305
284
  @objc final public let isVisibleToUser: Swift.Bool
306
- @available(*, deprecated, message: "This flag does not determine whether a rule runs by default; it will be removed in the October 2026 release.")
307
- @objc final public var experimental: Swift.Bool {
308
- @objc get
309
- }
310
285
  @nonobjc public var axeRuleId: axeDevToolsXCUI.AxeRuleId? {
311
286
  get
312
287
  }
@@ -366,46 +341,25 @@ extension axeDevToolsXCUI.AxeElementType : Swift.Equatable {
366
341
  }
367
342
  }
368
343
  @objc public enum AxeRuleId : Swift.Int, Swift.Sendable {
369
- @available(*, deprecated, renamed: "a11yElementFocusBox", message: "Use the lowerCamelCase spelling in expressions; switch patterns must keep this spelling until the October 2026 rename.")
370
- case A11yElementFocusBox = 0
371
- @available(*, deprecated, renamed: "activeControlName", message: "Use the lowerCamelCase spelling in expressions; switch patterns must keep this spelling until the October 2026 rename.")
372
- case ActiveControlName = 1
373
- @available(*, deprecated, renamed: "associatedText", message: "Use the lowerCamelCase spelling in expressions; switch patterns must keep this spelling until the October 2026 rename.")
374
- case AssociatedText = 2
375
- @available(*, deprecated, renamed: "clippedText", message: "Use the lowerCamelCase spelling in expressions; switch patterns must keep this spelling until the October 2026 rename.")
376
- case ClippedText = 3
377
- @available(*, deprecated, renamed: "collidingViews", message: "Use the lowerCamelCase spelling in expressions; switch patterns must keep this spelling until the October 2026 rename.")
378
- case CollidingViews = 4
379
- @available(*, deprecated, renamed: "colorContrast", message: "Use the lowerCamelCase spelling in expressions; switch patterns must keep this spelling until the October 2026 rename.")
380
- case ColorContrast = 5
381
- @available(*, deprecated, renamed: "conflictingTraits", message: "Use the lowerCamelCase spelling in expressions; switch patterns must keep this spelling until the October 2026 rename.")
382
- case ConflictingTraits = 6
383
- @available(*, deprecated, renamed: "focusableText", message: "Use the lowerCamelCase spelling in expressions; switch patterns must keep this spelling until the October 2026 rename.")
384
- case FocusableText = 7
385
- @available(*, deprecated, renamed: "imageViewName", message: "Use the lowerCamelCase spelling in expressions; switch patterns must keep this spelling until the October 2026 rename.")
386
- case ImageViewName = 8
387
- @available(*, deprecated, renamed: "inScrollView", message: "Use the lowerCamelCase spelling in expressions; switch patterns must keep this spelling until the October 2026 rename.")
388
- case InScrollView = 9
389
- @available(*, deprecated, message: "The InaccessibleAction rule is removed entirely in the October 2026 release (#2995). Stop referencing this rule rather than migrating to a new spelling.")
390
- case InaccessibleAction = 10
391
- @available(*, deprecated, renamed: "labelAtFront", message: "Use the lowerCamelCase spelling in expressions; switch patterns must keep this spelling until the October 2026 rename.")
392
- case LabelAtFront = 11
393
- @available(*, deprecated, renamed: "labelInName", message: "Use the lowerCamelCase spelling in expressions; switch patterns must keep this spelling until the October 2026 rename.")
394
- case LabelInName = 12
395
- @available(*, deprecated, renamed: "meaningfulAccessibleName", message: "Use the lowerCamelCase spelling in expressions; switch patterns must keep this spelling until the October 2026 rename.")
396
- case MeaningfulAccessibleName = 13
397
- @available(*, deprecated, renamed: "nestedElementsName", message: "Use the lowerCamelCase spelling in expressions; switch patterns must keep this spelling until the October 2026 rename.")
398
- case NestedElementsName = 14
399
- @available(*, deprecated, renamed: "screenOrientation", message: "Use the lowerCamelCase spelling in expressions; switch patterns must keep this spelling until the October 2026 rename.")
400
- case ScreenOrientation = 15
401
- @available(*, deprecated, renamed: "screenTitle", message: "Use the lowerCamelCase spelling in expressions; switch patterns must keep this spelling until the October 2026 rename.")
402
- case ScreenTitle = 16
403
- @available(*, deprecated, renamed: "supportsDynamicType", message: "Use the lowerCamelCase spelling in expressions; switch patterns must keep this spelling until the October 2026 rename.")
404
- case SupportsDynamicType = 17
405
- @available(*, deprecated, renamed: "touchTargetSize", message: "Use the lowerCamelCase spelling in expressions; switch patterns must keep this spelling until the October 2026 rename.")
406
- case TouchTargetSize = 18
407
- @available(*, deprecated, renamed: "touchTargetSpacing", message: "Use the lowerCamelCase spelling in expressions; switch patterns must keep this spelling until the October 2026 rename.")
408
- case TouchTargetSpacing = 19
344
+ case a11yElementFocusBox = 0
345
+ case activeControlName = 1
346
+ case associatedText = 2
347
+ case clippedText = 3
348
+ case collidingViews = 4
349
+ case colorContrast = 5
350
+ case conflictingTraits = 6
351
+ case focusableText = 7
352
+ case imageViewName = 8
353
+ case inScrollView = 9
354
+ case labelAtFront = 11
355
+ case labelInName = 12
356
+ case meaningfulAccessibleName = 13
357
+ case nestedElementsName = 14
358
+ case screenOrientation = 15
359
+ case screenTitle = 16
360
+ case supportsDynamicType = 17
361
+ case touchTargetSize = 18
362
+ case touchTargetSpacing = 19
409
363
  public static let allCases: [axeDevToolsXCUI.AxeRuleId]
410
364
  public init?(_ str: Swift.String)
411
365
  public func toString() -> Swift.String
@@ -416,65 +370,6 @@ extension axeDevToolsXCUI.AxeElementType : Swift.Equatable {
416
370
  get
417
371
  }
418
372
  }
419
- extension axeDevToolsXCUI.AxeRuleId {
420
- public static var a11yElementFocusBox: axeDevToolsXCUI.AxeRuleId {
421
- get
422
- }
423
- public static var activeControlName: axeDevToolsXCUI.AxeRuleId {
424
- get
425
- }
426
- public static var associatedText: axeDevToolsXCUI.AxeRuleId {
427
- get
428
- }
429
- public static var clippedText: axeDevToolsXCUI.AxeRuleId {
430
- get
431
- }
432
- public static var collidingViews: axeDevToolsXCUI.AxeRuleId {
433
- get
434
- }
435
- public static var colorContrast: axeDevToolsXCUI.AxeRuleId {
436
- get
437
- }
438
- public static var conflictingTraits: axeDevToolsXCUI.AxeRuleId {
439
- get
440
- }
441
- public static var focusableText: axeDevToolsXCUI.AxeRuleId {
442
- get
443
- }
444
- public static var imageViewName: axeDevToolsXCUI.AxeRuleId {
445
- get
446
- }
447
- public static var inScrollView: axeDevToolsXCUI.AxeRuleId {
448
- get
449
- }
450
- public static var labelAtFront: axeDevToolsXCUI.AxeRuleId {
451
- get
452
- }
453
- public static var labelInName: axeDevToolsXCUI.AxeRuleId {
454
- get
455
- }
456
- public static var meaningfulAccessibleName: axeDevToolsXCUI.AxeRuleId {
457
- get
458
- }
459
- public static var nestedElementsName: axeDevToolsXCUI.AxeRuleId {
460
- get
461
- }
462
- public static var screenOrientation: axeDevToolsXCUI.AxeRuleId {
463
- get
464
- }
465
- public static var screenTitle: axeDevToolsXCUI.AxeRuleId {
466
- get
467
- }
468
- public static var supportsDynamicType: axeDevToolsXCUI.AxeRuleId {
469
- get
470
- }
471
- public static var touchTargetSize: axeDevToolsXCUI.AxeRuleId {
472
- get
473
- }
474
- public static var touchTargetSpacing: axeDevToolsXCUI.AxeRuleId {
475
- get
476
- }
477
- }
478
373
  @objc public enum AxeElementType : Swift.UInt, Swift.Sendable {
479
374
  case any = 0
480
375
  case other = 1
@@ -573,8 +468,6 @@ extension axeDevToolsXCUI.AxeRuleId {
573
468
  @_hasMissingDesignatedInitializers @objc public class AxeResult : ObjectiveC.NSObject, Swift.Codable {
574
469
  @objc public var sessionId: Swift.String?
575
470
  @objc public var scanName: Swift.String?
576
- @available(*, deprecated, message: "This will be removed after the October 2026 release when the mobile dashboard is decommissioned.")
577
- @objc public var tags: [Swift.String]?
578
471
  @objc final public let axeConf: axeDevToolsXCUI.AxeConf
579
472
  @objc final public let axeContext: axeDevToolsXCUI.AxeContext
580
473
  @objc final public let axeRuleResults: [axeDevToolsXCUI.AxeRuleResult]
@@ -710,10 +603,9 @@ extension Swift.String {
710
603
  public static let viewHierarchyType: Swift.String
711
604
  }
712
605
  @_hasMissingDesignatedInitializers @objc final public class AxeDevTools : ObjectiveC.NSObject {
713
- @available(*, deprecated, message: "Rule ignoring and custom rules are moving directly onto AxeDevTools. This property will be removed after the October 2026 release, once the replacement ships. No migration is possible yet; behavior is unchanged until then.")
606
+ @available(*, unavailable, message: "Use axe.ignoreRules(...) to ignore rules and axe.addCustomRule(_:) to register a custom rule. See the October 2026 migration note.")
714
607
  @objc final public var configuration: axeDevToolsXCUI.AxeConf {
715
608
  @objc get
716
- @objc set
717
609
  }
718
610
  @objc public static var debugStatements: Swift.Bool {
719
611
  @objc get
@@ -722,25 +614,18 @@ extension Swift.String {
722
614
  @objc final public var sessionId: Swift.String? {
723
615
  @objc get
724
616
  }
725
- @available(*, deprecated, message: "This method will be removed after the October 2026 release when the mobile dashboard is decommissioned.")
726
- @objc final public func getResult(_ resultKey: axeDevToolsXCUI.AxeDevToolsResultKey) throws -> axeDevToolsXCUI.AxeResult
727
- @discardableResult
728
- @objc final public func postResult(_ result: axeDevToolsXCUI.AxeResult, withScanName scanName: Swift.String? = nil) throws -> axeDevToolsXCUI.AxeDevToolsResultKey
729
- @available(*, deprecated, renamed: "postResult(_:withScanName:)", message: "The 'withTags' parameter will be removed after the October 2026 release when the mobile dashboard is decommissioned.")
730
- @discardableResult
731
- @objc final public func postResult(_ result: axeDevToolsXCUI.AxeResult, withTags tags: [Swift.String], withScanName scanName: Swift.String? = nil) throws -> axeDevToolsXCUI.AxeDevToolsResultKey
732
- @available(*, deprecated, message: "This method will be removed after the October 2026 release when the mobile dashboard is decommissioned.")
733
- @objc final public func tagResult(_ resultKey: axeDevToolsXCUI.AxeDevToolsResultKey, withTags tags: [Swift.String]) throws
734
- @available(*, deprecated, message: "This method will be removed after the October 2026 release when the mobile dashboard is decommissioned.")
735
- @objc final public func deleteResult(_ resultKey: axeDevToolsXCUI.AxeDevToolsResultKey) throws
736
- @available(*, deprecated, message: "This method will be removed after the October 2026 release when the mobile dashboard is decommissioned.")
737
- @objc final public func updateScanName(_ resultKey: axeDevToolsXCUI.AxeDevToolsResultKey, to scanName: Swift.String) throws
617
+ @objc final public func postResult(_ result: axeDevToolsXCUI.AxeResult, withScanName scanName: Swift.String? = nil) throws
738
618
  @objc final public func saveResult(_ result: axeDevToolsXCUI.AxeResult, toAbsolutePath path: Swift.String, withFileName fileName: Swift.String = "", withScanName scanName: Swift.String? = nil) throws -> Swift.String
739
619
  @objc final public func saveResult(_ result: axeDevToolsXCUI.AxeResult, toPath path: Swift.String = "AxeDevToolsResults", withFileName fileName: Swift.String = "", withScanName scanName: Swift.String? = nil) throws -> Swift.String
740
620
  @objc final public func run(onBundleIdentifier bundleId: Swift.String) throws -> axeDevToolsXCUI.AxeResult
741
621
  @objc final public func run(onElement element: Any) throws -> axeDevToolsXCUI.AxeResult
742
622
  @objc deinit
743
623
  }
624
+ extension axeDevToolsXCUI.AxeDevTools {
625
+ @objc final public var devHubResultsURL: Foundation.URL? {
626
+ @objc get
627
+ }
628
+ }
744
629
  @objc public enum AxeSuccessCriteria : Swift.Int, Swift.Codable {
745
630
  case wcag412
746
631
  case wcag143