Browse Source

增加WDA

caner 8 months ago
parent
commit
a2cd003bd7
100 changed files with 3604 additions and 3 deletions
  1. BIN
      .DS_Store
  2. 16 3
      README.md
  3. BIN
      WDA.ipa
  4. 325 0
      WebDriverAgent-5.8.0/.azure-pipelines.yml
  5. 3 0
      WebDriverAgent-5.8.0/.eslintignore
  6. 29 0
      WebDriverAgent-5.8.0/.eslintrc.json
  7. 4 0
      WebDriverAgent-5.8.0/.github/ISSUE_TEMPLATE.md
  8. 11 0
      WebDriverAgent-5.8.0/.github/dependabot.yml
  9. 36 0
      WebDriverAgent-5.8.0/.github/workflows/functional-test.yml
  10. 15 0
      WebDriverAgent-5.8.0/.github/workflows/pr-title.yml
  11. 74 0
      WebDriverAgent-5.8.0/.github/workflows/publish.js.yml
  12. 43 0
      WebDriverAgent-5.8.0/.github/workflows/unit-test.yml
  13. 95 0
      WebDriverAgent-5.8.0/.github/workflows/wda-package.yml
  14. 55 0
      WebDriverAgent-5.8.0/.gitignore
  15. 4 0
      WebDriverAgent-5.8.0/.mocharc.js
  16. 1 0
      WebDriverAgent-5.8.0/.npmrc
  17. 41 0
      WebDriverAgent-5.8.0/.releaserc
  18. 357 0
      WebDriverAgent-5.8.0/CHANGELOG.md
  19. 35 0
      WebDriverAgent-5.8.0/CONTRIBUTING.md
  20. 31 0
      WebDriverAgent-5.8.0/Configurations/IOSSettings.xcconfig
  21. 1 0
      WebDriverAgent-5.8.0/Configurations/IOSTestSettings.xcconfig
  22. 31 0
      WebDriverAgent-5.8.0/Configurations/TVOSSettings.xcconfig
  23. 2 0
      WebDriverAgent-5.8.0/Configurations/TVOSTestSettings.xcconfig
  24. 34 0
      WebDriverAgent-5.8.0/Fastlane/Fastfile
  25. 5 0
      WebDriverAgent-5.8.0/Fastlane/Pluginfile
  26. 5 0
      WebDriverAgent-5.8.0/Gemfile
  27. 30 0
      WebDriverAgent-5.8.0/LICENSE
  28. 33 0
      WebDriverAgent-5.8.0/PATENTS
  29. 15 0
      WebDriverAgent-5.8.0/PrivateHeaders/AccessibilityUtilities/AXSettings.h
  30. 127 0
      WebDriverAgent-5.8.0/PrivateHeaders/MobileCoreServices/LSApplicationWorkspace.h
  31. 45 0
      WebDriverAgent-5.8.0/PrivateHeaders/TextInput/TIPreferencesController.h
  32. 27 0
      WebDriverAgent-5.8.0/PrivateHeaders/UIKitCore/UIKeyboardImpl.h
  33. 28 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/CDStructures.h
  34. 11 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/NSString-XCTAdditions.h
  35. 11 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/NSValue-XCTestAdditions.h
  36. 11 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/UIGestureRecognizer-RecordingAdditions.h
  37. 11 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/UILongPressGestureRecognizer-RecordingAdditions.h
  38. 11 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/UIPanGestureRecognizer-RecordingAdditions.h
  39. 11 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/UIPinchGestureRecognizer-RecordingAdditions.h
  40. 11 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/UISwipeGestureRecognizer-RecordingAdditions.h
  41. 11 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/UITapGestureRecognizer-RecordingAdditions.h
  42. 55 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCAXClient_iOS.h
  43. 39 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCActivityRecord.h
  44. 44 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCApplicationMonitor.h
  45. 18 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCApplicationMonitor_iOS.h
  46. 23 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCApplicationQuery.h
  47. 11 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCDebugLogDelegate-Protocol.h
  48. 27 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCDeviceEvent.h
  49. 73 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCEventGenerator.h
  50. 36 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCKeyMappingPath.h
  51. 41 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCKeyboardInputSolver.h
  52. 101 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCKeyboardKeyMap.h
  53. 35 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCKeyboardLayout.h
  54. 30 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCPointerEvent.h
  55. 43 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCPointerEventPath.h
  56. 42 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCSourceCodeRecording.h
  57. 84 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCSourceCodeTreeNode.h
  58. 18 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCSourceCodeTreeNodeEnumerator.h
  59. 29 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCSymbolicationRecord.h
  60. 14 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCSymbolicatorHolder.h
  61. 31 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCSynthesizedEventRecord.h
  62. 14 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTAXClient-Protocol.h
  63. 16 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTAsyncActivity-Protocol.h
  64. 23 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTAsyncActivity.h
  65. 12 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTAutomationTarget-Protocol.h
  66. 23 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTDarwinNotificationExpectation.h
  67. 18 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTElementSetTransformer-Protocol.h
  68. 28 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTKVOExpectation.h
  69. 29 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTMetric.h
  70. 27 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTNSNotificationExpectation.h
  71. 24 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTNSPredicateExpectation.h
  72. 15 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTNSPredicateExpectationObject-Protocol.h
  73. 21 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTRunnerAutomationSession.h
  74. 90 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTRunnerDaemonSession.h
  75. 65 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTRunnerIDESession.h
  76. 25 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTTestRunSession.h
  77. 17 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTTestRunSessionDelegate-Protocol.h
  78. 17 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTUIApplicationMonitor-Protocol.h
  79. 55 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTWaiter.h
  80. 16 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTWaiterDelegate-Protocol.h
  81. 12 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTWaiterDelegatePrivate-Protocol.h
  82. 13 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTWaiterManagement-Protocol.h
  83. 28 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTWaiterManager.h
  84. 34 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTest.h
  85. 102 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTestCase.h
  86. 18 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTestCaseRun.h
  87. 19 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTestCaseSuite.h
  88. 66 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTestConfiguration.h
  89. 26 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTestContext.h
  90. 19 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTestContextScope.h
  91. 38 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTestDriver.h
  92. 14 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTestDriverInterface-Protocol.h
  93. 39 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTestExpectation.h
  94. 14 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTestExpectationDelegate-Protocol.h
  95. 17 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTestExpectationWaiter.h
  96. 32 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTestLog.h
  97. 36 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTestManager_IDEInterface-Protocol.h
  98. 53 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTestManager_ManagerInterface-Protocol.h
  99. 12 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTestManager_TestsInterface-Protocol.h
  100. 37 0
      WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTestMisuseObserver.h

BIN
.DS_Store


+ 16 - 3
README.md

@@ -1,11 +1,24 @@
 # dingding-ios-auto
 # dingding-ios-auto
 
 
-钉钉自动打卡
+钉钉自动打卡 ios16
 
 
 ## lib pymobiledevice3
 ## lib pymobiledevice3
 ios:
 ios:
-    mac 需要安装xcode
+    mac 需要安装xcode -> wda 适配ios16,18请使用最新版:https://github.com/appium/WebDriverAgent
     window 需要安装ituns 
     window 需要安装ituns 
     需要安装ptyhon3.9+的版本
     需要安装ptyhon3.9+的版本
     手机需要开启开发者模式
     手机需要开启开发者模式
-    ios<17
+    ios<17
+    wda:https://zhuanlan.zhihu.com/p/673319266
+    
+    xcode打包:
+    ```
+        $ xcodebuild build-for-testing -scheme WebDriverAgentRunner -sdk iphoneos -configuration Release -derivedDataPath ./tmp
+        $ cd ./tmp/Build/Products/Release-iphoneos # path might be different
+        # Created folder `Payload` and put `.app` into it
+        # then compressed to zip, change extention name to `.ipa`. That's all.
+        $ mkdir Payload && cp -r *.app Payload
+        $ zip -r WDA.ipa Payload
+        # 打开ipa 删除所有XC开头的文件
+    ```
+    重签名软件:https://dantheman827.github.io/ios-app-signer/

BIN
WDA.ipa


+ 325 - 0
WebDriverAgent-5.8.0/.azure-pipelines.yml

@@ -0,0 +1,325 @@
+# https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml
+variables:
+  MIN_VM_IMAGE: macOS-12
+  MIN_XCODE_VERSION: 13.1
+  MIN_PLATFORM_VERSION: 15.0
+  MIN_TV_PLATFORM_VERSION: 15.0
+  MIN_TV_DEVICE_NAME: Apple TV 4K (2nd generation)
+  MIN_IPHONE_DEVICE_NAME: iPhone 11
+  MIN_IPAD_DEVICE_NAME: iPad Pro (11-inch) (3rd generation)
+  MAX_VM_IMAGE: macOS-12
+  MAX_XCODE_VERSION: 14.2
+  MAX_PLATFORM_VERSION: 16.2
+  MAX_PLATFORM_VERSION_TV: 16.1
+  MAX_IPHONE_DEVICE_NAME: iPhone 13
+  MAX_TV_DEVICE_NAME: Apple TV 4K (2nd generation)
+  MAX_IPAD_DEVICE_NAME: iPad Pro (11-inch) (3rd generation)
+  DEFAULT_NODE_VERSION: "18.x"
+
+
+pool:
+  vmImage: "$(MAX_VM_IMAGE)"
+
+
+parameters:
+- name: integrationJobs
+  type: object
+  default:
+  - action: int_test_1
+    dest: iphone
+  - action: int_test_2
+    dest: iphone
+  - action: int_test_3
+    dest: iphone
+  - action: int_test_1
+    dest: ipad
+  - action: int_test_2
+    dest: ipad
+  - action: int_test_3
+    dest: ipad
+
+
+stages:
+- stage: Unit_Tests_And_Linters
+  jobs:
+  # region Build
+  - template: ./azure-templates/base_job.yml
+    parameters:
+      name: Generic_iOS_Build_Max_Xcode
+      action: build
+      target: runner
+      sdk: sim
+      dest: generic
+      codeSign: no
+      xcodeVersion: $(MAX_XCODE_VERSION)
+      vmImage: $(MAX_VM_IMAGE)
+  - template: ./azure-templates/base_job.yml
+    parameters:
+      name: Generic_tvOS_Build_Max_Xcode
+      action: build
+      target: tv_runner
+      sdk: tv_sim
+      dest: tv_generic
+      codeSign: no
+      xcodeVersion: $(MAX_XCODE_VERSION)
+      vmImage: $(MAX_VM_IMAGE)
+  - template: ./azure-templates/base_job.yml
+    parameters:
+      name: iOS_Build_Max_Xcode
+      action: build
+      target: runner
+      sdk: sim
+      iphoneModel: $(MAX_IPHONE_DEVICE_NAME)
+      ipadModel: $(MAX_IPAD_DEVICE_NAME)
+      iosVersion: $(MAX_PLATFORM_VERSION)
+      xcodeVersion: $(MAX_XCODE_VERSION)
+      vmImage: $(MAX_VM_IMAGE)
+  - template: ./azure-templates/base_job.yml
+    parameters:
+      name: tvOS_Build_Max_Xcode
+      action: build
+      target: tv_runner
+      sdk: tv_sim
+      tvModel: $(MAX_TV_DEVICE_NAME)
+      tvVersion: $(MAX_PLATFORM_VERSION_TV)
+      xcodeVersion: $(MAX_XCODE_VERSION)
+      vmImage: $(MAX_VM_IMAGE)
+  - template: ./azure-templates/base_job.yml
+    parameters:
+      name: Generic_iOS_Build_Min_Xcode
+      action: build
+      target: runner
+      sdk: sim
+      dest: generic
+      codeSign: no
+      xcodeVersion: $(MIN_XCODE_VERSION)
+      vmImage: $(MIN_VM_IMAGE)
+      extraXcArgs: IPHONEOS_DEPLOYMENT_TARGET=$(MIN_PLATFORM_VERSION)
+  - template: ./azure-templates/base_job.yml
+    parameters:
+      name: Generic_tvOS_Build_Min_Xcode
+      action: build
+      target: tv_runner
+      dest: tv_generic
+      sdk: tv_sim
+      codeSign: no
+      xcodeVersion: $(MIN_XCODE_VERSION)
+      vmImage: $(MIN_VM_IMAGE)
+  - template: ./azure-templates/base_job.yml
+    parameters:
+      name: iOS_Build_Min_Xcode
+      action: build
+      target: runner
+      sdk: sim
+      iphoneModel: $(MIN_IPHONE_DEVICE_NAME)
+      ipadModel: $(MIN_IPAD_DEVICE_NAME)
+      iosVersion: $(MIN_PLATFORM_VERSION)
+      xcodeVersion: $(MIN_XCODE_VERSION)
+      vmImage: $(MIN_VM_IMAGE)
+  - template: ./azure-templates/base_job.yml
+    parameters:
+      name: tvOS_Build_Min_Xcode
+      action: build
+      target: tv_runner
+      sdk: tv_sim
+      dest: tv
+      tvModel: $(MIN_TV_DEVICE_NAME)
+      tvVersion: $(MIN_TV_PLATFORM_VERSION)
+      xcodeVersion: $(MIN_XCODE_VERSION)
+      vmImage: $(MIN_VM_IMAGE)
+  # endregion
+
+  # region Analyze
+  - template: ./azure-templates/base_job.yml
+    parameters:
+      name: iOS_Lib_Analyze_Max_Xcode
+      action: analyze
+      sdk: sim
+      target: lib
+      iphoneModel: $(MAX_IPHONE_DEVICE_NAME)
+      ipadModel: $(MAX_IPAD_DEVICE_NAME)
+      iosVersion: $(MAX_PLATFORM_VERSION)
+      xcodeVersion: $(MAX_XCODE_VERSION)
+      vmImage: $(MAX_VM_IMAGE)
+  - template: ./azure-templates/base_job.yml
+    parameters:
+      name: iOS_Runner_Analyze_Max_Xcode
+      action: analyze
+      sdk: sim
+      target: runner
+      iphoneModel: $(MAX_IPHONE_DEVICE_NAME)
+      ipadModel: $(MAX_IPAD_DEVICE_NAME)
+      iosVersion: $(MAX_PLATFORM_VERSION)
+      xcodeVersion: $(MAX_XCODE_VERSION)
+      vmImage: $(MAX_VM_IMAGE)
+  - template: ./azure-templates/base_job.yml
+    parameters:
+      name: tvOS_Lib_Analyze_Max_Xcode
+      action: analyze
+      target: tv_lib
+      sdk: tv_sim
+      tvModel: $(MAX_TV_DEVICE_NAME)
+      tvVersion: $(MAX_PLATFORM_VERSION_TV)
+      xcodeVersion: $(MAX_XCODE_VERSION)
+      vmImage: $(MAX_VM_IMAGE)
+  - template: ./azure-templates/base_job.yml
+    parameters:
+      name: tvOS_Runner_Analyze_Max_Xcode
+      action: analyze
+      target: tv_runner
+      sdk: tv_sim
+      tvModel: $(MAX_TV_DEVICE_NAME)
+      tvVersion: $(MAX_PLATFORM_VERSION_TV)
+      xcodeVersion: $(MAX_XCODE_VERSION)
+      vmImage: $(MAX_VM_IMAGE)
+  - template: ./azure-templates/base_job.yml
+    parameters:
+      name: iOS_Lib_Analyze_Min_Xcode
+      action: analyze
+      target: lib
+      sdk: sim
+      iphoneModel: $(MIN_IPHONE_DEVICE_NAME)
+      ipadModel: $(MIN_IPAD_DEVICE_NAME)
+      iosVersion: $(MIN_PLATFORM_VERSION)
+      xcodeVersion: $(MIN_XCODE_VERSION)
+      vmImage: $(MIN_VM_IMAGE)
+  - template: ./azure-templates/base_job.yml
+    parameters:
+      name: iOS_Runner_Analyze_Min_Xcode
+      action: analyze
+      target: runner
+      sdk: sim
+      iphoneModel: $(MIN_IPHONE_DEVICE_NAME)
+      ipadModel: $(MIN_IPAD_DEVICE_NAME)
+      iosVersion: $(MIN_PLATFORM_VERSION)
+      xcodeVersion: $(MIN_XCODE_VERSION)
+      vmImage: $(MIN_VM_IMAGE)
+  - template: ./azure-templates/base_job.yml
+    parameters:
+      name: tvOS_Lib_Analyze_Min_Xcode
+      action: analyze
+      target: tv_lib
+      sdk: tv_sim
+      tvModel: $(MIN_TV_DEVICE_NAME)
+      tvVersion: $(MIN_TV_PLATFORM_VERSION)
+      xcodeVersion: $(MIN_XCODE_VERSION)
+      vmImage: $(MIN_VM_IMAGE)
+  - template: ./azure-templates/base_job.yml
+    parameters:
+      name: tvOS_Runner_Analyze_Min_Xcode
+      action: analyze
+      target: tv_runner
+      sdk: tv_sim
+      tvModel: $(MIN_TV_DEVICE_NAME)
+      tvVersion: $(MIN_TV_PLATFORM_VERSION)
+      xcodeVersion: $(MIN_XCODE_VERSION)
+      vmImage: $(MIN_VM_IMAGE)
+  # endregion
+
+  # region Unit Tests
+  - template: ./azure-templates/base_job.yml
+    parameters:
+      name: iPhone_Unit_Test_Max_Xcode
+      action: unit_test
+      dest: iphone
+      target: lib
+      sdk: sim
+      iphoneModel: $(MAX_IPHONE_DEVICE_NAME)
+      ipadModel: $(MAX_IPAD_DEVICE_NAME)
+      iosVersion: $(MAX_PLATFORM_VERSION)
+      xcodeVersion: $(MAX_XCODE_VERSION)
+      vmImage: $(MAX_VM_IMAGE)
+  - template: ./azure-templates/base_job.yml
+    parameters:
+      name: iPad_Unit_Test_Max_Xcode
+      action: unit_test
+      dest: ipad
+      target: lib
+      sdk: sim
+      iphoneModel: $(MAX_IPHONE_DEVICE_NAME)
+      ipadModel: $(MAX_IPAD_DEVICE_NAME)
+      iosVersion: $(MAX_PLATFORM_VERSION)
+      xcodeVersion: $(MAX_XCODE_VERSION)
+      vmImage: $(MAX_VM_IMAGE)
+  - template: ./azure-templates/base_job.yml
+    parameters:
+      name: tvOS_Unit_Test_Max_Xcode
+      action: tv_unit_test
+      dest: tv
+      target: tv_lib
+      sdk: tv_sim
+      tvModel: $(MAX_TV_DEVICE_NAME)
+      tvVersion: $(MAX_PLATFORM_VERSION_TV)
+      xcodeVersion: $(MAX_XCODE_VERSION)
+      vmImage: $(MAX_VM_IMAGE)
+  - template: ./azure-templates/base_job.yml
+    parameters:
+      name: iPhone_Unit_Test_Min_Xcode
+      action: unit_test
+      dest: iphone
+      target: lib
+      sdk: sim
+      iphoneModel: $(MIN_IPHONE_DEVICE_NAME)
+      ipadModel: $(MIN_IPAD_DEVICE_NAME)
+      iosVersion: $(MIN_PLATFORM_VERSION)
+      xcodeVersion: $(MIN_XCODE_VERSION)
+      vmImage: $(MIN_VM_IMAGE)
+  - template: ./azure-templates/base_job.yml
+    parameters:
+      name: iPad_Unit_Test_Min_Xcode
+      action: unit_test
+      dest: ipad
+      target: lib
+      sdk: sim
+      iphoneModel: $(MIN_IPHONE_DEVICE_NAME)
+      ipadModel: $(MIN_IPAD_DEVICE_NAME)
+      iosVersion: $(MIN_PLATFORM_VERSION)
+      xcodeVersion: $(MIN_XCODE_VERSION)
+      vmImage: $(MIN_VM_IMAGE)
+  - template: ./azure-templates/base_job.yml
+    parameters:
+      name: tvOS_Unit_Test_Min_Xcode
+      action: tv_unit_test
+      dest: tv
+      target: tv_lib
+      sdk: tv_sim
+      tvModel: $(MIN_TV_DEVICE_NAME)
+      tvVersion: $(MIN_TV_PLATFORM_VERSION)
+      xcodeVersion: $(MIN_XCODE_VERSION)
+      vmImage: $(MIN_VM_IMAGE)
+  # endregion
+
+- stage: Integration_Tests
+  jobs:
+
+  # region Integration Tests Max Xcode
+  - ${{ each job in parameters.integrationJobs }}:
+    - template: ./azure-templates/base_job.yml
+      parameters:
+        name: ${{ job.dest }}_${{ job.action }}_Max_Xcode
+        action: ${{ job.action }}
+        dest: ${{ job.dest }}
+        target: lib
+        sdk: sim
+        iphoneModel: $(MAX_IPHONE_DEVICE_NAME)
+        ipadModel: $(MAX_IPAD_DEVICE_NAME)
+        iosVersion: $(MAX_PLATFORM_VERSION)
+        xcodeVersion: $(MAX_XCODE_VERSION)
+        vmImage: $(MAX_VM_IMAGE)
+  # endregion
+
+  # region Integration Tests Min Xcode
+  - ${{ each job in parameters.integrationJobs }}:
+    - template: ./azure-templates/base_job.yml
+      parameters:
+        name: ${{ job.dest }}_${{ job.action }}_Min_Xcode
+        action: ${{ job.action }}
+        dest: ${{ job.dest }}
+        target: lib
+        sdk: sim
+        iphoneModel: $(MIN_IPHONE_DEVICE_NAME)
+        ipadModel: $(MIN_IPAD_DEVICE_NAME)
+        iosVersion: $(MIN_PLATFORM_VERSION)
+        xcodeVersion: $(MIN_XCODE_VERSION)
+        vmImage: $(MIN_VM_IMAGE)
+  # endregion

+ 3 - 0
WebDriverAgent-5.8.0/.eslintignore

@@ -0,0 +1,3 @@
+Resources
+coverage
+build

+ 29 - 0
WebDriverAgent-5.8.0/.eslintrc.json

@@ -0,0 +1,29 @@
+{
+  "extends": ["@appium/eslint-config-appium-ts"],
+  "overrides": [
+    {
+      "files": "test/**/*.js",
+      "rules": {
+        "func-names": "off",
+        "@typescript-eslint/no-var-requires": "off"
+      }
+    },
+    {
+      "files": "Scripts/**/*.js",
+      "parserOptions": {"sourceType": "script"},
+      "rules": {
+        "@typescript-eslint/no-var-requires": "off"
+      }
+    },
+    {
+      "files": "ci-jobs/scripts/*.js",
+      "parserOptions": {"sourceType": "script"},
+      "rules": {
+        "@typescript-eslint/no-var-requires": "off"
+      }
+    }
+  ],
+  "rules": {
+    "require-await": "error"
+  }
+}

+ 4 - 0
WebDriverAgent-5.8.0/.github/ISSUE_TEMPLATE.md

@@ -0,0 +1,4 @@
+**Warning:**
+
+These issues are not tracked. Please create new issues in the main Appium
+repository: https://github.com/appium/appium/issues/new

+ 11 - 0
WebDriverAgent-5.8.0/.github/dependabot.yml

@@ -0,0 +1,11 @@
+version: 2
+updates:
+- package-ecosystem: npm
+  directory: "/"
+  schedule:
+    interval: daily
+    time: "11:00"
+  open-pull-requests-limit: 10
+  commit-message:
+    prefix: "chore"
+    include: "scope"

+ 36 - 0
WebDriverAgent-5.8.0/.github/workflows/functional-test.yml

@@ -0,0 +1,36 @@
+name: Functional Tests
+
+on: [pull_request]
+
+
+jobs:
+  test:
+    env:
+      CI: true
+      _FORCE_LOGS: 1
+      XCODE_VERSION: 13.4
+      DEVICE_NAME: iPhone 11
+      PLATFORM_VERSION: 15.5
+    # https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md
+    runs-on: macos-12
+    steps:
+    - uses: actions/checkout@v3
+    - uses: actions/setup-node@v3
+      with:
+        node-version: lts/*
+    - uses: maxim-lobanov/setup-xcode@v1
+      with:
+        xcode-version: "${{ env.XCODE_VERSION }}"
+    - run: |
+        npm install
+        mkdir -p ./Resources/WebDriverAgent.bundle
+      name: Install dev dependencies
+
+    - run: |
+        target_sim_id=$(xcrun simctl list devices available | grep "$DEVICE_NAME (" | cut -d "(" -f2 | cut -d ")" -f1)
+        open -Fn "$(xcode-select -p)/Applications/Simulator.app"
+        xcrun simctl bootstatus $target_sim_id -b
+      name: Preboot Simulator
+
+    - run: npm run e2e-test
+      name: Run functional tests

+ 15 - 0
WebDriverAgent-5.8.0/.github/workflows/pr-title.yml

@@ -0,0 +1,15 @@
+name: Conventional Commits
+on:
+  pull_request:
+
+
+jobs:
+  lint:
+    name: https://www.conventionalcommits.org
+    runs-on: ubuntu-latest
+    steps:
+      - uses: beemojs/conventional-pr-action@v2
+        with:
+          config-preset: angular
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

+ 74 - 0
WebDriverAgent-5.8.0/.github/workflows/publish.js.yml

@@ -0,0 +1,74 @@
+# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
+# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
+
+name: Release
+
+on:
+  workflow_dispatch:
+  push:
+    branches: [ master ]
+
+jobs:
+  build:
+    runs-on: macos-12
+
+    env:
+      XCODE_VERSION: 14.2
+      ZIP_PKG_NAME_IOS: "WebDriverAgentRunner-Runner.zip"
+      PKG_PATH_IOS: "appium_wda_ios"
+      ZIP_PKG_NAME_TVOS: "WebDriverAgentRunner_tvOS-Runner.zip"
+      PKG_PATH_TVOS: "appium_wda_tvos"
+
+    steps:
+    - uses: actions/checkout@v2
+    - name: Use Node.js
+      uses: actions/setup-node@v3
+      with:
+        node-version: lts/*
+    - uses: maxim-lobanov/setup-xcode@v1
+      with:
+        xcode-version: "${{ env.XCODE_VERSION }}"
+    - run: npm install --no-package-lock
+      name: Install dev dependencies
+    - run: npm run build
+      name: Run build
+    - run: npm run test
+      name: Run test
+
+    # building WDA packages
+    - name: Build iOS
+      run: |
+        xcodebuild clean build-for-testing \
+          -project WebDriverAgent.xcodeproj \
+          -derivedDataPath $PKG_PATH_IOS \
+          -scheme WebDriverAgentRunner \
+          -destination generic/platform=iOS \
+          CODE_SIGNING_ALLOWED=NO ARCHS=arm64
+    - name: Creating a zip of WebDriverAgentRunner-Runner.app for iOS
+      run: |
+        pushd appium_wda_ios/Build/Products/Debug-iphoneos
+        zip -r $ZIP_PKG_NAME_IOS WebDriverAgentRunner-Runner.app
+        popd
+        mv $PKG_PATH_IOS/Build/Products/Debug-iphoneos/$ZIP_PKG_NAME_IOS ./
+    - name: Build tvOS
+      run: |
+        xcodebuild clean build-for-testing \
+          -project WebDriverAgent.xcodeproj \
+          -derivedDataPath $PKG_PATH_TVOS \
+          -scheme WebDriverAgentRunner_tvOS \
+          -destination generic/platform=tvOS \
+          CODE_SIGNING_ALLOWED=NO ARCHS=arm64
+    - name: Creating a zip of WebDriverAgentRunner-Runner.app for tvOS
+      run: |
+        pushd appium_wda_tvos/Build/Products/Debug-appletvos
+        zip -r $ZIP_PKG_NAME_TVOS WebDriverAgentRunner_tvOS-Runner.app
+        popd
+        mv $PKG_PATH_TVOS/Build/Products/Debug-appletvos/$ZIP_PKG_NAME_TVOS ./
+
+    # release tasks
+    - run: npx semantic-release
+      env:
+        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+        NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
+      name: Release
+

+ 43 - 0
WebDriverAgent-5.8.0/.github/workflows/unit-test.yml

@@ -0,0 +1,43 @@
+name: Unit Tests
+
+on: [pull_request, push]
+
+
+jobs:
+  prepare_matrix:
+    runs-on: ubuntu-latest
+    outputs:
+      versions: ${{ steps.generate-matrix.outputs.versions }}
+    steps:
+    - name: Generate Node.js versions matrix
+      id: generate-matrix
+      run: |
+        sudo apt-get install -y lynx
+        lynx -dump https://endoflife.date/nodejs | grep -E -o '[0-9]+[( a-zA-Z]+LTS\)' | grep -E -o '([0-9]+)' > eol.list
+        cat eol.list
+        lts1=$(cat eol.list | head -1)
+        lts2=$(cat eol.list | head -2 | tail -1)
+        lts3=$(cat eol.list | head -3 | tail -1)
+        VERSIONS="[$lts1, $lts2, $lts3]"
+        echo "versions=${VERSIONS}" >> "$GITHUB_OUTPUT"
+
+  test:
+    needs:
+    - prepare_matrix
+    strategy:
+      matrix:
+        node-version: ${{ fromJSON(needs.prepare_matrix.outputs.versions) }}
+    runs-on: macos-latest
+    steps:
+    - uses: actions/checkout@v3
+    - uses: actions/setup-node@v3
+      with:
+        node-version: ${{ matrix.node-version }}
+    - run: npm i -g npm
+      name: Update NPM
+    - run: npm install --no-package-lock
+      name: Install dev dependencies
+    - run: npm run lint
+      name: Run linter
+    - run: npm run test
+      name: Run unit tests

+ 95 - 0
WebDriverAgent-5.8.0/.github/workflows/wda-package.yml

@@ -0,0 +1,95 @@
+name: Building WebDriverAgent
+
+on:
+  workflow_dispatch:
+  workflow_run:
+    workflows: ["Release"]
+    types:
+      - completed
+
+env:
+  HOST: macos-12
+  XCODE_VERSION: 14.2
+  DESTINATION_SIM: platform=iOS Simulator,name=iPhone 14 Pro
+  DESTINATION_SIM_tvOS: platform=tvOS Simulator,name=Apple TV
+
+jobs:
+  host_machine:
+    runs-on: ubuntu-latest
+    outputs:
+      host: ${{ steps.macos_host.outputs.host }}
+    steps:
+      - run: |
+          echo "host=${{ env.HOST }}" >> $GITHUB_OUTPUT
+        id: macos_host
+
+  for_real_devices:
+    needs: [host_machine]
+    name: Build WDA for real iOS and tvOS devices
+    runs-on: ${{ needs.host_machine.outputs.host }}
+
+    env:
+      ZIP_PKG_NAME_IOS: "WebDriverAgentRunner-Runner.zip"
+      ZIP_PKG_NAME_TVOS: "WebDriverAgentRunner_tvOS-Runner.zip"
+
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v3
+      - uses: maxim-lobanov/setup-xcode@v1
+        with:
+          xcode-version: "${{ env.XCODE_VERSION }}"
+      - name: Create a zip file of WebDriverAgentRunner-Runner.app for iOS
+        run: sh $GITHUB_WORKSPACE/Scripts/ci/build-real.sh
+        env:
+          DERIVED_DATA_PATH: appium_wda_ios
+          SCHEME: WebDriverAgentRunner
+          DESTINATION: generic/platform=iOS
+          WD: appium_wda_ios/Build/Products/Debug-iphoneos
+          ZIP_PKG_NAME: "${{ env.ZIP_PKG_NAME_IOS }}"
+
+      - name: Create a zip file of WebDriverAgentRunner-Runner.app for tvOS
+        run: sh $GITHUB_WORKSPACE/Scripts/ci/build-real.sh
+        env:
+          DERIVED_DATA_PATH: appium_wda_tvos
+          SCHEME: WebDriverAgentRunner_tvOS
+          DESTINATION: generic/platform=tvOS
+          WD: appium_wda_tvos/Build/Products/Debug-appletvos
+          ZIP_PKG_NAME: "${{ env.ZIP_PKG_NAME_TVOS }}"
+
+      - name: Upload the built generic app package for iOS
+        uses: actions/upload-artifact@v3.1.0
+        with:
+          path: "${{ env.ZIP_PKG_NAME_IOS }}"
+      - name: Upload the built generic app package for tvOS
+        uses: actions/upload-artifact@v3.1.0
+        with:
+          path: "${{ env.ZIP_PKG_NAME_TVOS }}"
+
+  for_simulator_devices:
+    needs: [host_machine]
+    name: Build WDA for ${{ matrix.target }} simulators
+    runs-on: ${{ needs.host_machine.outputs.host }}
+
+    strategy:
+      matrix:
+        # '' is for iOS
+        target: ['', '_tvOS']
+        arch: [x86_64, arm64]
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v3
+      - uses: maxim-lobanov/setup-xcode@v1
+        with:
+          xcode-version: "${{ env.XCODE_VERSION }}"
+      - name: Create a zip of WebDriverAgentRunner${{ matrix.target }} for simulator for ${{ matrix.arch }}
+        run: |
+          DESTINATION=$DESTINATION_SIM${{ matrix.target }} sh $GITHUB_WORKSPACE/Scripts/ci/build-sim.sh
+        env:
+          TARGET: ${{ matrix.target }}
+          SCHEME: WebDriverAgentRunner${{ matrix.target }}
+          ARCHS: ${{ matrix.arch }}
+          ZIP_PKG_NAME: "WebDriverAgentRunner${{ matrix.target }}-Build-Sim-${{ matrix.arch }}.zip"
+      - name: Upload the built generic app package for WebDriverAgentRunner${{ matrix.target }} with ${{ matrix.arch }}
+        uses: actions/upload-artifact@v3.1.0
+        with:
+          path: "WebDriverAgentRunner${{ matrix.target }}-Build-Sim-${{ matrix.arch }}.zip"

+ 55 - 0
WebDriverAgent-5.8.0/.gitignore

@@ -0,0 +1,55 @@
+# OS X
+.DS_Store
+
+# Xcode
+#
+# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
+
+## Build generated
+build/
+clang/
+DerivedData
+
+## Various settings
+*.pbxuser
+!default.pbxuser
+*.mode1v3
+!default.mode1v3
+*.mode2v3
+!default.mode2v3
+*.perspectivev3
+!default.perspectivev3
+xcuserdata
+
+## Other
+*.xccheckout
+*.moved-aside
+*.xcuserstate
+*.xcscmblueprint
+
+## Obj-C/Swift specific
+*.hmap
+*.ipa
+
+# AppCode
+.idea/
+
+# Modules map recreated on each build
+Modules/module.modulemap
+
+# test run
+*.trace
+
+# node stuff
+node_modules
+
+# webdriveragent zip bundles
+bundles/
+webdriveragent-*.tar.gz
+uncompressed/
+prebuilt-agents/
+WebDriverAgentRunner-Runner.app.zip
+WebDriverAgentRunner-Runner.app/
+
+# Ruby
+Gemfile.lock

+ 4 - 0
WebDriverAgent-5.8.0/.mocharc.js

@@ -0,0 +1,4 @@
+module.exports = {
+  require: ['ts-node/register'],
+  forbidOnly: Boolean(process.env.CI)
+};

+ 1 - 0
WebDriverAgent-5.8.0/.npmrc

@@ -0,0 +1 @@
+package-lock=false

+ 41 - 0
WebDriverAgent-5.8.0/.releaserc

@@ -0,0 +1,41 @@
+{
+  "plugins": [
+    ["@semantic-release/commit-analyzer", {
+      "preset": "angular",
+      "releaseRules": [
+        {"type": "chore", "release": "patch"}
+      ]
+    }],
+    ["@semantic-release/release-notes-generator", {
+      "preset": "conventionalcommits",
+      "presetConfig": {
+        "types": [
+          {"type": "feat", "section": "Features"},
+          {"type": "fix", "section": "Bug Fixes"},
+          {"type": "perf", "section": "Performance Improvements"},
+          {"type": "revert", "section": "Reverts"},
+          {"type": "chore", "section": "Miscellaneous Chores"},
+          {"type": "refactor", "section": "Code Refactoring"},
+          {"type": "docs", "section": "Documentation", "hidden": true},
+          {"type": "style", "section": "Styles", "hidden": true},
+          {"type": "test", "section": "Tests", "hidden": true},
+          {"type": "build", "section": "Build System", "hidden": true},
+          {"type": "ci", "section": "Continuous Integration", "hidden": true}
+        ]
+      }
+    }],
+    ["@semantic-release/changelog", {
+      "changelogFile": "CHANGELOG.md"
+    }],
+    "@semantic-release/npm",
+    ["@semantic-release/git", {
+      "assets": ["docs", "package.json", "CHANGELOG.md"],
+      "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
+    }],
+    ["@semantic-release/github", {
+      "assets": [
+        "WebDriverAgentRunner-Runner.zip",
+        "WebDriverAgentRunner_tvOS-Runner.zip"
+    ]}]
+  ]
+}

+ 357 - 0
WebDriverAgent-5.8.0/CHANGELOG.md

@@ -0,0 +1,357 @@
+## [5.8.0](https://github.com/appium/WebDriverAgent/compare/v5.7.0...v5.8.0) (2023-08-24)
+
+
+### Features
+
+* Add wdHittable property ([#756](https://github.com/appium/WebDriverAgent/issues/756)) ([075298b](https://github.com/appium/WebDriverAgent/commit/075298b286c83ab5d4a2855e9e0bb915790b3f43))
+
+## [5.7.0](https://github.com/appium/WebDriverAgent/compare/v5.6.2...v5.7.0) (2023-08-24)
+
+
+### Features
+
+* Switch babel to typescript ([#753](https://github.com/appium/WebDriverAgent/issues/753)) ([76a4c7f](https://github.com/appium/WebDriverAgent/commit/76a4c7f066e1895acbb153ab035d6a08604277e4))
+
+## [5.6.2](https://github.com/appium/WebDriverAgent/compare/v5.6.1...v5.6.2) (2023-08-23)
+
+
+### Miscellaneous Chores
+
+* Remove unused glob dependency ([ee7655e](https://github.com/appium/WebDriverAgent/commit/ee7655e0a2aa39dd1f0c6d80d89065b4f34f264d))
+
+## [5.6.1](https://github.com/appium/WebDriverAgent/compare/v5.6.0...v5.6.1) (2023-08-14)
+
+
+### Miscellaneous Chores
+
+* **deps-dev:** bump lint-staged from 13.3.0 to 14.0.0 ([#750](https://github.com/appium/WebDriverAgent/issues/750)) ([0b74bf5](https://github.com/appium/WebDriverAgent/commit/0b74bf5befaa6d87c93a5306beb690a5a0e1843d))
+
+## [5.6.0](https://github.com/appium/WebDriverAgent/compare/v5.5.2...v5.6.0) (2023-07-15)
+
+
+### Features
+
+* apply shouldWaitForQuiescence for activate in /wda/apps/launch ([#739](https://github.com/appium/WebDriverAgent/issues/739)) ([#740](https://github.com/appium/WebDriverAgent/issues/740)) ([66ab695](https://github.com/appium/WebDriverAgent/commit/66ab695f9fa1850145a1d94ef15978b70bc1b032))
+
+## [5.5.2](https://github.com/appium/WebDriverAgent/compare/v5.5.1...v5.5.2) (2023-07-07)
+
+
+### Miscellaneous Chores
+
+* **deps-dev:** bump prettier from 2.8.8 to 3.0.0 ([#735](https://github.com/appium/WebDriverAgent/issues/735)) ([15614d0](https://github.com/appium/WebDriverAgent/commit/15614d030975f2b1eac5919d2353bc015f194d4c))
+
+## [5.5.1](https://github.com/appium/WebDriverAgent/compare/v5.5.0...v5.5.1) (2023-06-16)
+
+
+### Bug Fixes
+
+* Update strongbox API name ([4977032](https://github.com/appium/WebDriverAgent/commit/49770328aeeebacd76011ff1caf13d5b4ed71420))
+
+## [5.5.0](https://github.com/appium/WebDriverAgent/compare/v5.4.1...v5.5.0) (2023-06-12)
+
+
+### Features
+
+* Add accessibility audit extension ([#727](https://github.com/appium/WebDriverAgent/issues/727)) ([78321dd](https://github.com/appium/WebDriverAgent/commit/78321dd3dafdb142eed136b48ec101f1daed50a4))
+
+## [5.4.1](https://github.com/appium/WebDriverAgent/compare/v5.4.0...v5.4.1) (2023-06-09)
+
+
+### Bug Fixes
+
+* Return default testmanagerd version if the info is not available ([#728](https://github.com/appium/WebDriverAgent/issues/728)) ([e6e2dbd](https://github.com/appium/WebDriverAgent/commit/e6e2dbd86fc0c48ae146905f0e69a6223360e856))
+
+## [5.4.0](https://github.com/appium/WebDriverAgent/compare/v5.3.3...v5.4.0) (2023-06-09)
+
+
+### Features
+
+* Drop older screenshoting APIs ([#721](https://github.com/appium/WebDriverAgent/issues/721)) ([4a08d7a](https://github.com/appium/WebDriverAgent/commit/4a08d7a843af6b93b378b4e3dc10f123d2e56359))
+
+
+### Bug Fixes
+
+* Streamline errors handling for async block calls ([#725](https://github.com/appium/WebDriverAgent/issues/725)) ([364b779](https://github.com/appium/WebDriverAgent/commit/364b7791393ffae9c048c5cac023e3e7d1813a14))
+
+## [5.3.3](https://github.com/appium/WebDriverAgent/compare/v5.3.2...v5.3.3) (2023-06-08)
+
+
+### Miscellaneous Chores
+
+* Disable automatic screen recording by default ([#726](https://github.com/appium/WebDriverAgent/issues/726)) ([a070223](https://github.com/appium/WebDriverAgent/commit/a070223e0ef43be8dd54d16ee3e3b96603ad5f3a))
+
+## [5.3.2](https://github.com/appium/WebDriverAgent/compare/v5.3.1...v5.3.2) (2023-06-07)
+
+
+### Miscellaneous Chores
+
+* **deps-dev:** bump conventional-changelog-conventionalcommits ([#723](https://github.com/appium/WebDriverAgent/issues/723)) ([b22f61e](https://github.com/appium/WebDriverAgent/commit/b22f61eda142ee6ec1db8c74a4788e0270ac7740))
+
+## [5.3.1](https://github.com/appium/WebDriverAgent/compare/v5.3.0...v5.3.1) (2023-06-06)
+
+
+### Bug Fixes
+
+* remove Parameter of overriding method should be annotated with __attribute__((noescape)) ([#720](https://github.com/appium/WebDriverAgent/issues/720)) ([5f811ac](https://github.com/appium/WebDriverAgent/commit/5f811ac65ba3ac770e42bd7f8614815df8ec990f))
+
+## [5.3.0](https://github.com/appium/WebDriverAgent/compare/v5.2.0...v5.3.0) (2023-05-22)
+
+
+### Features
+
+* Use strongbox to persist the previous version of the module ([#714](https://github.com/appium/WebDriverAgent/issues/714)) ([4611792](https://github.com/appium/WebDriverAgent/commit/4611792ee5d5d7f39d188b5ebc31017f436c5ace))
+
+## [5.2.0](https://github.com/appium/WebDriverAgent/compare/v5.1.6...v5.2.0) (2023-05-20)
+
+
+### Features
+
+* Replace non-encodable characters in the resulting JSON ([#713](https://github.com/appium/WebDriverAgent/issues/713)) ([cdfae40](https://github.com/appium/WebDriverAgent/commit/cdfae408be0bcf6607f0ca4462925eed2c300f5e))
+
+## [5.1.6](https://github.com/appium/WebDriverAgent/compare/v5.1.5...v5.1.6) (2023-05-18)
+
+
+### Miscellaneous Chores
+
+* **deps:** bump @appium/support from 3.1.11 to 4.0.0 ([#710](https://github.com/appium/WebDriverAgent/issues/710)) ([3e49523](https://github.com/appium/WebDriverAgent/commit/3e495230674a46db29ecea3b36c2ed0ea1bf2842))
+
+## [5.1.5](https://github.com/appium/WebDriverAgent/compare/v5.1.4...v5.1.5) (2023-05-18)
+
+
+### Miscellaneous Chores
+
+* Drop obsolete workarounds for coordinates calculation ([#701](https://github.com/appium/WebDriverAgent/issues/701)) ([259f731](https://github.com/appium/WebDriverAgent/commit/259f7319305b15a3f541957d3ccaa3cb12c9e1a3))
+
+## [5.1.4](https://github.com/appium/WebDriverAgent/compare/v5.1.3...v5.1.4) (2023-05-16)
+
+
+### Bug Fixes
+
+* Prevent freeze on launch/activate of a missing app ([#706](https://github.com/appium/WebDriverAgent/issues/706)) ([c4976e3](https://github.com/appium/WebDriverAgent/commit/c4976e3e99afa4d471bd39c3dccfc7d9f58d8bfc))
+
+## [5.1.3](https://github.com/appium/WebDriverAgent/compare/v5.1.2...v5.1.3) (2023-05-16)
+
+
+### Bug Fixes
+
+* Revert "fix: Assert app is installed before launching or activating it ([#704](https://github.com/appium/WebDriverAgent/issues/704))" ([#705](https://github.com/appium/WebDriverAgent/issues/705)) ([00baeb2](https://github.com/appium/WebDriverAgent/commit/00baeb2045b9aac98d27fe2e96cedce0dde5e8be))
+
+## [5.1.2](https://github.com/appium/WebDriverAgent/compare/v5.1.1...v5.1.2) (2023-05-15)
+
+
+### Miscellaneous Chores
+
+* remove code for old os versions ([#694](https://github.com/appium/WebDriverAgent/issues/694)) ([4a9faa5](https://github.com/appium/WebDriverAgent/commit/4a9faa5f85e0615c18a5f35090335bdbc7d56ebe))
+
+## [5.1.1](https://github.com/appium/WebDriverAgent/compare/v5.1.0...v5.1.1) (2023-05-15)
+
+
+### Bug Fixes
+
+* Assert app is installed before launching or activating it ([#704](https://github.com/appium/WebDriverAgent/issues/704)) ([94e5c51](https://github.com/appium/WebDriverAgent/commit/94e5c51bce1d4518418e999b4ac466cd46ca3bc3))
+
+## [5.1.0](https://github.com/appium/WebDriverAgent/compare/v5.0.0...v5.1.0) (2023-05-14)
+
+
+### Features
+
+* Add a possibility to provide a target picker value ([#699](https://github.com/appium/WebDriverAgent/issues/699)) ([fc76aee](https://github.com/appium/WebDriverAgent/commit/fc76aeecb087429974b7b52b725173186e6f0246))
+
+
+### Code Refactoring
+
+* Remove obsolete coordinate calculation workarounds needed for older xCode SDKs ([#698](https://github.com/appium/WebDriverAgent/issues/698)) ([025b42c](https://github.com/appium/WebDriverAgent/commit/025b42c8a34ff0beba4379f4cb0c1d79d2b222ed))
+
+## [5.0.0](https://github.com/appium/WebDriverAgent/compare/v4.15.1...v5.0.0) (2023-05-14)
+
+
+### ⚠ BREAKING CHANGES
+
+* The minimum supported xCode/iOS version is now 13/15.0
+
+### Code Refactoring
+
+* Drop workarounds for legacy iOS versions ([#696](https://github.com/appium/WebDriverAgent/issues/696)) ([bb562b9](https://github.com/appium/WebDriverAgent/commit/bb562b96db6aad476970ef7bd352cb8df4f1e6c2))
+
+## [4.15.1](https://github.com/appium/WebDriverAgent/compare/v4.15.0...v4.15.1) (2023-05-06)
+
+
+### Performance Improvements
+
+* tune webDriverAgentUrl case by skiping xcodebuild stuff ([#691](https://github.com/appium/WebDriverAgent/issues/691)) ([d8f1457](https://github.com/appium/WebDriverAgent/commit/d8f1457b591b2dd00040f8336c1a7a728af871d2))
+
+## [4.15.0](https://github.com/appium/WebDriverAgent/compare/v4.14.0...v4.15.0) (2023-05-04)
+
+
+### Features
+
+* Make isFocused attribute available for iOS elements ([#692](https://github.com/appium/WebDriverAgent/issues/692)) ([0ec74ce](https://github.com/appium/WebDriverAgent/commit/0ec74ce32c817a5884228ccb2ec31f0a5a4de9c3))
+
+## [4.14.0](https://github.com/appium/WebDriverAgent/compare/v4.13.2...v4.14.0) (2023-05-02)
+
+
+### Features
+
+* start wda process via Xctest in a real device ([#687](https://github.com/appium/WebDriverAgent/issues/687)) ([e1c0f83](https://github.com/appium/WebDriverAgent/commit/e1c0f836a68ad2efbedfc77343794d0d97ef6090))
+
+## [4.13.2](https://github.com/appium/WebDriverAgent/compare/v4.13.1...v4.13.2) (2023-04-28)
+
+
+### Miscellaneous Chores
+
+* add withoutSession for pasteboard for debug ([#688](https://github.com/appium/WebDriverAgent/issues/688)) ([edcbf9e](https://github.com/appium/WebDriverAgent/commit/edcbf9e6af903c6f490ca90ff915497ad53bb8b5))
+
+## [4.13.1](https://github.com/appium/WebDriverAgent/compare/v4.13.0...v4.13.1) (2023-04-04)
+
+
+### Bug Fixes
+
+* Fixed Xpath lookup for Xcode 14.3 ([#681](https://github.com/appium/WebDriverAgent/issues/681)) ([3e0b191](https://github.com/appium/WebDriverAgent/commit/3e0b1914f87585ed69ba20d960502eabb058941c))
+
+## [4.13.0](https://github.com/appium/WebDriverAgent/compare/v4.12.2...v4.13.0) (2023-02-23)
+
+
+### Features
+
+* Increase Xpath Lookup Performance ([#666](https://github.com/appium/WebDriverAgent/issues/666)) ([1696f4b](https://github.com/appium/WebDriverAgent/commit/1696f4bb879152ef04408940849708654072c797))
+
+## [4.12.2](https://github.com/appium/WebDriverAgent/compare/v4.12.1...v4.12.2) (2023-02-22)
+
+
+### Miscellaneous Chores
+
+* Make sure the test is never going to be unexpectedly interrupted ([#664](https://github.com/appium/WebDriverAgent/issues/664)) ([cafe47e](https://github.com/appium/WebDriverAgent/commit/cafe47e9bea9649a0e9b4a2b96ca44434bbac411))
+
+## [4.12.1](https://github.com/appium/WebDriverAgent/compare/v4.12.0...v4.12.1) (2023-02-20)
+
+
+### Bug Fixes
+
+* Return null if no simulated location has been previously set ([#663](https://github.com/appium/WebDriverAgent/issues/663)) ([6a5c48b](https://github.com/appium/WebDriverAgent/commit/6a5c48bd2ffc43c0f0d9bf781671bbcf171f9375))
+
+## [4.12.0](https://github.com/appium/WebDriverAgent/compare/v4.11.0...v4.12.0) (2023-02-20)
+
+
+### Features
+
+* Add support of the simulated geolocation setting ([#662](https://github.com/appium/WebDriverAgent/issues/662)) ([ebb9e60](https://github.com/appium/WebDriverAgent/commit/ebb9e60d56c0e0db9f509437ed639a3a39f6011b))
+
+## [4.11.0](https://github.com/appium/WebDriverAgent/compare/v4.10.24...v4.11.0) (2023-02-19)
+
+
+### Features
+
+* Add openUrl handler available since Xcode 14.3 ([#661](https://github.com/appium/WebDriverAgent/issues/661)) ([bee564e](https://github.com/appium/WebDriverAgent/commit/bee564e8c6b975aff07fd1244583f0727a0f5470))
+
+## [4.10.24](https://github.com/appium/WebDriverAgent/compare/v4.10.23...v4.10.24) (2023-02-17)
+
+
+### Bug Fixes
+
+* Catch unexpected exceptions thrown by the alerts monitor ([#660](https://github.com/appium/WebDriverAgent/issues/660)) ([aa22555](https://github.com/appium/WebDriverAgent/commit/aa22555f0dcf98de43c95cb20be73e911a97741e))
+
+## [4.10.23](https://github.com/appium/WebDriverAgent/compare/v4.10.22...v4.10.23) (2023-02-05)
+
+
+### Miscellaneous Chores
+
+* bundle:tv for tvOS ([#657](https://github.com/appium/WebDriverAgent/issues/657)) ([9d2d047](https://github.com/appium/WebDriverAgent/commit/9d2d047fba57a33787c66a1e8a8449b9538c67be))
+
+## [4.10.22](https://github.com/appium/WebDriverAgent/compare/v4.10.21...v4.10.22) (2023-01-30)
+
+
+### Bug Fixes
+
+* Pull defaultAdditionalRequestParameters dynamically ([#658](https://github.com/appium/WebDriverAgent/issues/658)) ([d7c397b](https://github.com/appium/WebDriverAgent/commit/d7c397b0260a71568edd6d99ecf7b39ca3503083))
+
+## [4.10.21](https://github.com/appium/WebDriverAgent/compare/v4.10.20...v4.10.21) (2023-01-26)
+
+
+### Bug Fixes
+
+* Properly update maxDepth while fetching snapshots ([#655](https://github.com/appium/WebDriverAgent/issues/655)) ([6f99bab](https://github.com/appium/WebDriverAgent/commit/6f99bab5fbdbf65c9ef74c42b5f1b4c658aeaafb))
+
+## [4.10.20](https://github.com/appium/WebDriverAgent/compare/v4.10.19...v4.10.20) (2023-01-17)
+
+
+### Miscellaneous Chores
+
+* **deps-dev:** bump semantic-release from 19.0.5 to 20.0.2 ([#651](https://github.com/appium/WebDriverAgent/issues/651)) ([e96c367](https://github.com/appium/WebDriverAgent/commit/e96c367cb0d9461bb5e443740504969a4cb857e1))
+
+## [4.10.19](https://github.com/appium/WebDriverAgent/compare/v4.10.18...v4.10.19) (2023-01-13)
+
+
+### Miscellaneous Chores
+
+* **deps-dev:** bump appium-xcode from 4.0.5 to 5.0.0 ([#652](https://github.com/appium/WebDriverAgent/issues/652)) ([75c247f](https://github.com/appium/WebDriverAgent/commit/75c247fe82ebe7b2b8ba0d79528cadeda871e229))
+
+## [4.10.18](https://github.com/appium/WebDriverAgent/compare/v4.10.17...v4.10.18) (2022-12-30)
+
+
+### Miscellaneous Chores
+
+* simplify Script/build-webdriveragent.js ([#647](https://github.com/appium/WebDriverAgent/issues/647)) ([81dab6c](https://github.com/appium/WebDriverAgent/commit/81dab6ca0645f9925a8515abfb4851d6e85da7e9))
+
+## [4.10.17](https://github.com/appium/WebDriverAgent/compare/v4.10.16...v4.10.17) (2022-12-30)
+
+
+### Miscellaneous Chores
+
+* add  ARCHS=arm64 for a release package build ([#649](https://github.com/appium/WebDriverAgent/issues/649)) ([08612aa](https://github.com/appium/WebDriverAgent/commit/08612aade1833c384914bb618675b5653d5f5118))
+
+## [4.10.16](https://github.com/appium/WebDriverAgent/compare/v4.10.15...v4.10.16) (2022-12-29)
+
+
+### Miscellaneous Chores
+
+* build only arm64 for generic build in a release ([#648](https://github.com/appium/WebDriverAgent/issues/648)) ([63e175d](https://github.com/appium/WebDriverAgent/commit/63e175d56526d9fb74d9053dbe60fd0c80b9c670))
+
+## [4.10.15](https://github.com/appium/WebDriverAgent/compare/v4.10.14...v4.10.15) (2022-12-16)
+
+
+### Miscellaneous Chores
+
+* **deps:** bump @appium/base-driver from 8.7.3 to 9.0.0 ([#645](https://github.com/appium/WebDriverAgent/issues/645)) ([35dd981](https://github.com/appium/WebDriverAgent/commit/35dd98111f1d8222bc0cb412c11cb1442d10295e))
+* **deps:** bump appium-ios-simulator from 4.2.1 to 5.0.1 ([#646](https://github.com/appium/WebDriverAgent/issues/646)) ([7911cbb](https://github.com/appium/WebDriverAgent/commit/7911cbb3607b1d75091bdf3dc436baae3868854a))
+
+## [4.10.14](https://github.com/appium/WebDriverAgent/compare/v4.10.13...v4.10.14) (2022-12-14)
+
+
+### Miscellaneous Chores
+
+* **deps-dev:** bump @appium/test-support from 2.0.2 to 3.0.0 ([#644](https://github.com/appium/WebDriverAgent/issues/644)) ([ab84580](https://github.com/appium/WebDriverAgent/commit/ab8458027457563b7faaeef36d9019b7ac1921b0))
+* **deps:** bump @appium/support from 2.61.1 to 3.0.0 ([#643](https://github.com/appium/WebDriverAgent/issues/643)) ([3ca197a](https://github.com/appium/WebDriverAgent/commit/3ca197ac7526036e408584207b26129847a615ca))
+
+## [4.10.13](https://github.com/appium/WebDriverAgent/compare/v4.10.12...v4.10.13) (2022-12-13)
+
+## [4.10.12](https://github.com/appium/WebDriverAgent/compare/v4.10.11...v4.10.12) (2022-12-08)
+
+
+### Bug Fixes
+
+* Provide proper xcodebuild argument for tvOS ([#640](https://github.com/appium/WebDriverAgent/issues/640)) ([72bd327](https://github.com/appium/WebDriverAgent/commit/72bd32780f26ae0f60b30e0cee8fc585aea600fe))
+
+## [4.10.11](https://github.com/appium/WebDriverAgent/compare/v4.10.10...v4.10.11) (2022-11-29)
+
+## [4.10.10](https://github.com/appium/WebDriverAgent/compare/v4.10.9...v4.10.10) (2022-11-25)
+
+
+### Bug Fixes
+
+* Only check existence if firstMatch is applied ([#638](https://github.com/appium/WebDriverAgent/issues/638)) ([5394fe8](https://github.com/appium/WebDriverAgent/commit/5394fe8cc2eda3d1668685bd00f9f7383e122627))
+
+## [4.10.9](https://github.com/appium/WebDriverAgent/compare/v4.10.8...v4.10.9) (2022-11-25)
+
+## [4.10.8](https://github.com/appium/WebDriverAgent/compare/v4.10.7...v4.10.8) (2022-11-24)
+
+## [4.10.7](https://github.com/appium/WebDriverAgent/compare/v4.10.6...v4.10.7) (2022-11-24)
+
+## [4.10.6](https://github.com/appium/WebDriverAgent/compare/v4.10.5...v4.10.6) (2022-11-23)
+
+## [4.10.5](https://github.com/appium/WebDriverAgent/compare/v4.10.4...v4.10.5) (2022-11-22)
+
+## [4.10.4](https://github.com/appium/WebDriverAgent/compare/v4.10.3...v4.10.4) (2022-11-22)
+
+## [4.10.3](https://github.com/appium/WebDriverAgent/compare/v4.10.2...v4.10.3) (2022-11-22)
+
+## [4.10.2](https://github.com/appium/WebDriverAgent/compare/v4.10.1...v4.10.2) (2022-11-06)

+ 35 - 0
WebDriverAgent-5.8.0/CONTRIBUTING.md

@@ -0,0 +1,35 @@
+# Contributing to WebDriverAgent
+We want to make contributing to this project as easy and transparent as
+possible.
+
+## Pull Requests
+We actively welcome your pull requests.
+
+1. Fork the repo and create your branch from `master`.
+2. If you've added code that should be tested, add tests
+3. If you've changed APIs, update the documentation.
+4. Ensure the test suite passes.
+5. Make sure your code lints.
+6. If you haven't already, complete the Contributor License Agreement ("CLA").
+
+## Contributor License Agreement ("CLA")
+In order to accept your pull request, we need you to submit a CLA. You only need
+to do this once to work on any of Facebook's open source projects.
+
+Complete your CLA here: <https://code.facebook.com/cla>
+
+## Issues
+We use GitHub issues to track public bugs. Please ensure your description is
+clear and has sufficient instructions to be able to reproduce the issue.
+
+Facebook has a [bounty program](https://www.facebook.com/whitehat/) for the safe
+disclosure of security bugs. In those cases, please go through the process
+outlined on that page and do not file a public issue.
+
+## Coding Style
+* 2 spaces for indentation rather than tabs
+* 80 character line length
+
+## License
+By contributing to WebDriverAgent, you agree that your contributions will be licensed
+under its [BSD license](LICENSE).

+ 31 - 0
WebDriverAgent-5.8.0/Configurations/IOSSettings.xcconfig

@@ -0,0 +1,31 @@
+EXCLUDED_ARCHS = i386
+
+GCC_TREAT_WARNINGS_AS_ERRORS = YES
+GCC_WARN_PEDANTIC = YES
+GCC_WARN_SHADOW = YES
+GCC_WARN_64_TO_32_BIT_CONVERSION = YES
+GCC_WARN_MISSING_PARENTHESES = YES
+GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES
+GCC_WARN_SIGN_COMPARE = YES
+GCC_WARN_ABOUT_POINTER_SIGNEDNESS = YES
+GCC_WARN_UNUSED_PARAMETER = YES
+GCC_WARN_UNUSED_VALUE = YES
+GCC_WARN_UNUSED_VARIABLE = YES
+GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = YES
+CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES
+
+CLANG_ANALYZER_NONNULL = YES
+CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES
+CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES
+CLANG_WARN_ENUM_CONVERSION = YES
+CLANG_WARN_INT_CONVERSION = YES
+CLANG_WARN_ASSIGN_ENUM = YES
+CLANG_WARN_BOOL_CONVERSION = YES
+CLANG_WARN_CONSTANT_CONVERSION = YES
+CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES
+
+RUN_CLANG_STATIC_ANALYZER = YES
+
+GCC_PREPROCESSOR_DEFINITIONS = $(inherited)
+
+WARNING_CFLAGS = $(inherited) -Weverything -Wno-objc-missing-property-synthesis -Wno-unused-macros -Wno-disabled-macro-expansion -Wno-gnu-statement-expression -Wno-language-extension-token -Wno-overriding-method-mismatch -Wno-missing-variable-declarations -Rno-module-build -Wno-auto-import -Wno-objc-interface-ivars -Wno-documentation-unknown-command -Wno-reserved-id-macro -Wno-unused-parameter -Wno-gnu-conditional-omitted-operand -Wno-explicit-ownership-type -Wno-date-time -Wno-cast-align -Wno-cstring-format-directive -Wno-double-promotion -Wno-partial-availability

+ 1 - 0
WebDriverAgent-5.8.0/Configurations/IOSTestSettings.xcconfig

@@ -0,0 +1 @@
+EXCLUDED_ARCHS = i386

+ 31 - 0
WebDriverAgent-5.8.0/Configurations/TVOSSettings.xcconfig

@@ -0,0 +1,31 @@
+EXCLUDED_ARCHS = i386
+
+GCC_TREAT_WARNINGS_AS_ERRORS = YES
+GCC_WARN_PEDANTIC = YES
+GCC_WARN_SHADOW = YES
+GCC_WARN_64_TO_32_BIT_CONVERSION = YES
+GCC_WARN_MISSING_PARENTHESES = YES
+GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES
+GCC_WARN_SIGN_COMPARE = YES
+GCC_WARN_ABOUT_POINTER_SIGNEDNESS = YES
+GCC_WARN_UNUSED_PARAMETER = YES
+GCC_WARN_UNUSED_VALUE = YES
+GCC_WARN_UNUSED_VARIABLE = YES
+GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = YES
+CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES
+
+CLANG_ANALYZER_NONNULL = YES
+CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES
+CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES
+CLANG_WARN_ENUM_CONVERSION = YES
+CLANG_WARN_INT_CONVERSION = YES
+CLANG_WARN_ASSIGN_ENUM = YES
+CLANG_WARN_BOOL_CONVERSION = YES
+CLANG_WARN_CONSTANT_CONVERSION = YES
+CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES
+
+RUN_CLANG_STATIC_ANALYZER = YES
+
+GCC_PREPROCESSOR_DEFINITIONS = $(inherited)
+
+WARNING_CFLAGS = $(inherited) -Weverything -Wno-objc-missing-property-synthesis -Wno-unused-macros -Wno-disabled-macro-expansion -Wno-gnu-statement-expression -Wno-language-extension-token -Wno-overriding-method-mismatch -Wno-missing-variable-declarations -Rno-module-build -Wno-auto-import -Wno-objc-interface-ivars -Wno-documentation-unknown-command -Wno-reserved-id-macro -Wno-unused-parameter -Wno-gnu-conditional-omitted-operand -Wno-explicit-ownership-type -Wno-date-time -Wno-cast-align -Wno-cstring-format-directive -Wno-double-promotion -Wno-partial-availability

+ 2 - 0
WebDriverAgent-5.8.0/Configurations/TVOSTestSettings.xcconfig

@@ -0,0 +1,2 @@
+EXCLUDED_ARCHS = i386
+

+ 34 - 0
WebDriverAgent-5.8.0/Fastlane/Fastfile

@@ -0,0 +1,34 @@
+XC_PROJECT = File.absolute_path('../WebDriverAgent.xcodeproj')
+RETRIES = 3
+
+lane :test do
+  test_run_block = lambda do |testrun_info|
+    failed_test_count = testrun_info[:failed].size
+
+    if failed_test_count > 0
+      UI.important("Failed tests count: #{failed_test_count}")
+
+      try_attempt = testrun_info[:try_count]
+      if try_attempt < RETRIES
+        UI.header("Re-running failing tests (attempt #{try_attempt} of #{RETRIES})")
+        reset_simulator_contents
+      end
+    end
+  end
+
+  # https://docs.fastlane.tools/actions/scan/
+  result = multi_scan(
+    project: XC_PROJECT,
+    try_count: RETRIES,
+    fail_build: false,
+    scheme: ENV['SCHEME'],
+    sdk: ENV['SDK'],
+    destination: ENV['DEST'],
+    testrun_completed_block: test_run_block
+  )
+  unless result[:failed_testcount].zero?
+    msg = "There are #{result[:failed_testcount]} legitimate failing tests"
+    UI.message(msg)
+    raise msg
+  end
+end

+ 5 - 0
WebDriverAgent-5.8.0/Fastlane/Pluginfile

@@ -0,0 +1,5 @@
+# Autogenerated by fastlane
+#
+# Ensure this file is checked in to source control!
+
+gem 'fastlane-plugin-test_center', '3.15.3'

+ 5 - 0
WebDriverAgent-5.8.0/Gemfile

@@ -0,0 +1,5 @@
+source "https://rubygems.org"
+
+gem "fastlane", '2.162.0'
+plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')
+eval_gemfile(plugins_path) if File.exist?(plugins_path)

+ 30 - 0
WebDriverAgent-5.8.0/LICENSE

@@ -0,0 +1,30 @@
+BSD License
+
+For WebDriverAgent software
+
+Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice, this
+   list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+   this list of conditions and the following disclaimer in the documentation
+   and/or other materials provided with the distribution.
+
+ * Neither the name Facebook nor the names of its contributors may be used to
+   endorse or promote products derived from this software without specific
+   prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

+ 33 - 0
WebDriverAgent-5.8.0/PATENTS

@@ -0,0 +1,33 @@
+Additional Grant of Patent Rights Version 2
+
+"Software" means the WebDriverAgent software distributed by Facebook, Inc.
+
+Facebook, Inc. ("Facebook") hereby grants to each recipient of the Software
+("you") a perpetual, worldwide, royalty-free, non-exclusive, irrevocable
+(subject to the termination provision below) license under any Necessary
+Claims, to make, have made, use, sell, offer to sell, import, and otherwise
+transfer the Software. For avoidance of doubt, no license is granted under
+Facebook’s rights in any patent claims that are infringed by (i) modifications
+to the Software made by you or any third party or (ii) the Software in
+combination with any software or other technology.
+
+The license granted hereunder will terminate, automatically and without notice,
+if you (or any of your subsidiaries, corporate affiliates or agents) initiate
+directly or indirectly, or take a direct financial interest in, any Patent
+Assertion: (i) against Facebook or any of its subsidiaries or corporate
+affiliates, (ii) against any party if such Patent Assertion arises in whole or
+in part from any software, technology, product or service of Facebook or any of
+its subsidiaries or corporate affiliates, or (iii) against any party relating
+to the Software. Notwithstanding the foregoing, if Facebook or any of its
+subsidiaries or corporate affiliates files a lawsuit alleging patent
+infringement against you in the first instance, and you respond by filing a
+patent infringement counterclaim in that lawsuit against that party that is
+unrelated to the Software, the license granted hereunder will not terminate
+under section (i) of this paragraph due to such counterclaim.
+
+A "Necessary Claim" is a claim of a patent owned by Facebook that is
+necessarily infringed by the Software standing alone.
+
+A "Patent Assertion" is any lawsuit or other action alleging direct, indirect,
+or contributory infringement or inducement to infringe any patent, including a
+cross-claim or counterclaim.

+ 15 - 0
WebDriverAgent-5.8.0/PrivateHeaders/AccessibilityUtilities/AXSettings.h

@@ -0,0 +1,15 @@
+
+/* Generated by RuntimeBrowser
+   Image: /System/Library/PrivateFrameworks/AccessibilityUtilities.framework/AccessibilityUtilities
+ */
+
+@interface AXSettings : NSObject
+
+@property bool reduceMotionEnabled;
+
++ (id)sharedInstance;
+
+- (void)setReduceMotionEnabled:(bool)arg1;
+- (bool)reduceMotionEnabled;
+
+@end

+ 127 - 0
WebDriverAgent-5.8.0/PrivateHeaders/MobileCoreServices/LSApplicationWorkspace.h

@@ -0,0 +1,127 @@
+
+/* Generated by RuntimeBrowser
+ Image: /System/Library/Frameworks/MobileCoreServices.framework/MobileCoreServices
+ */
+
+@interface LSApplicationWorkspace : NSObject {
+  NSXPCConnection * _connection;
+  NSMutableDictionary * _createdInstallProgresses;
+}
+
+@property (readonly) NSXPCConnection *connection;
+@property (readonly) NSMutableDictionary *createdInstallProgresses;
+
++ (id)activeManagedConfigurationRestrictionUUIDs;
++ (id)callbackQueue;
++ (instancetype)defaultWorkspace;
+
+- (id)URLOverrideForURL:(id)arg1;
+- (id)URLSchemesOfType:(long long)arg1;
+- (void)_LSClearSchemaCaches;
+- (void)_LSFailedToOpenURL:(id)arg1 withBundle:(id)arg2;
+- (bool)_LSPrivateDatabaseNeedsRebuild;
+- (bool)_LSPrivateRebuildApplicationDatabasesForSystemApps:(bool)arg1 internal:(bool)arg2 user:(bool)arg3;
+- (void)_LSPrivateSyncWithMobileInstallation;
+- (void)addObserver:(id)arg1;
+- (id)allApplications;
+- (id)allInstalledApplications;
+- (id)applicationForOpeningResource:(id)arg1;
+- (id)applicationForUserActivityDomainName:(id)arg1;
+- (id)applicationForUserActivityType:(id)arg1;
+- (bool)applicationIsInstalled:(id)arg1;
+- (id)applicationProxiesWithPlistFlags:(unsigned int)arg1 bundleFlags:(unsigned long long)arg2;
+- (id)applicationsAvailableForHandlingURLScheme:(id)arg1;
+- (id)applicationsAvailableForOpeningDocument:(id)arg1;
+- (id)applicationsAvailableForOpeningURL:(id)arg1;
+- (id)applicationsAvailableForOpeningURL:(id)arg1 legacySPI:(bool)arg2;
+- (id)applicationsForUserActivityType:(id)arg1;
+- (id)applicationsForUserActivityType:(id)arg1 limit:(unsigned long long)arg2;
+- (id)applicationsOfType:(unsigned long long)arg1;
+- (id)applicationsWithAudioComponents;
+- (id)applicationsWithUIBackgroundModes;
+- (id)applicationsWithVPNPlugins;
+- (id)bundleIdentifiersForMachOUUIDs:(id)arg1 error:(id*)arg2;
+- (void)clearAdvertisingIdentifier;
+- (void)clearCreatedProgressForBundleID:(id)arg1;
+- (id)connection;
+- (id)createdInstallProgresses;
+- (void)dealloc;
+- (id)delegateProxy;
+- (id)deviceIdentifierForAdvertising;
+- (id)deviceIdentifierForVendor;
+- (id)directionsApplications;
+- (bool)downgradeApplicationToPlaceholder:(id)arg1 withOptions:(id)arg2 error:(id*)arg3;
+- (void)enumerateApplicationsForSiriWithBlock:(id /* block */)arg1;
+- (void)enumerateApplicationsOfType:(unsigned long long)arg1 block:(id /* block */)arg2;
+- (void)enumerateApplicationsOfType:(unsigned long long)arg1 legacySPI:(bool)arg2 block:(id /* block */)arg3;
+- (void)enumerateBundlesOfType:(unsigned long long)arg1 block:(id /* block */)arg2;
+- (void)enumerateBundlesOfType:(unsigned long long)arg1 legacySPI:(bool)arg2 block:(id /* block */)arg3;
+- (void)enumerateBundlesOfType:(unsigned long long)arg1 usingBlock:(id /* block */)arg2;
+- (void)enumeratePluginsMatchingQuery:(id)arg1 withBlock:(id /* block */)arg2;
+- (bool)establishConnection;
+- (bool)getClaimedActivityTypes:(id*)arg1 domains:(id*)arg2;
+- (unsigned long long)getInstallTypeForOptions:(id)arg1 andApp:(id)arg2;
+- (void)getKnowledgeUUID:(id*)arg1 andSequenceNumber:(id*)arg2;
+- (bool)installApplication:(id)arg1 withOptions:(id)arg2;
+- (bool)installApplication:(id)arg1 withOptions:(id)arg2 error:(id*)arg3;
+- (bool)installApplication:(id)arg1 withOptions:(id)arg2 error:(id*)arg3 usingBlock:(id /* block */)arg4;
+- (id)installBundle:(id)arg1 withOptions:(id)arg2 usingBlock:(id /* block */)arg3 forApp:(id)arg4 withError:(id*)arg5 outInstallProgress:(id*)arg6;
+- (bool)installPhaseFinishedForProgress:(id)arg1;
+- (id)installProgressForApplication:(id)arg1 withPhase:(unsigned long long)arg2;
+- (id)installProgressForBundleID:(id)arg1 makeSynchronous:(unsigned char)arg2;
+- (id)installedPlugins;
+- (bool)invalidateIconCache:(id)arg1;
+- (bool)isApplicationAvailableToOpenURL:(id)arg1 error:(id*)arg2;
+- (bool)isApplicationAvailableToOpenURL:(id)arg1 includePrivateURLSchemes:(bool)arg2 error:(id*)arg3;
+- (bool)isApplicationAvailableToOpenURLCommon:(id)arg1 includePrivateURLSchemes:(bool)arg2 error:(id*)arg3;
+- (id)legacyApplicationProxiesListWithType:(unsigned long long)arg1;
+- (id)machOUUIDsForBundleIdentifiers:(id)arg1 error:(id*)arg2;
+- (id)observedInstallProgresses;
+- (bool)openApplicationWithBundleID:(id)arg1;
+- (bool)openSensitiveURL:(id)arg1 withOptions:(id)arg2;
+- (bool)openSensitiveURL:(id)arg1 withOptions:(id)arg2 error:(id*)arg3;
+- (bool)openURL:(id)arg1;
+- (bool)openURL:(id)arg1 withOptions:(id)arg2;
+- (bool)openURL:(id)arg1 withOptions:(id)arg2 error:(id*)arg3;
+- (void)openUserActivity:(id)arg1 withApplicationProxy:(id)arg2 completionHandler:(id /* block */)arg3;
+- (void)openUserActivity:(id)arg1 withApplicationProxy:(id)arg2 options:(id)arg3 completionHandler:(id /* block */)arg4;
+- (id)operationToOpenResource:(id)arg1 usingApplication:(id)arg2 uniqueDocumentIdentifier:(id)arg3 sourceIsManaged:(bool)arg4 userInfo:(id)arg5 delegate:(id)arg6;
+- (id)operationToOpenResource:(id)arg1 usingApplication:(id)arg2 uniqueDocumentIdentifier:(id)arg3 userInfo:(id)arg4;
+- (id)operationToOpenResource:(id)arg1 usingApplication:(id)arg2 uniqueDocumentIdentifier:(id)arg3 userInfo:(id)arg4 delegate:(id)arg5;
+- (id)operationToOpenResource:(id)arg1 usingApplication:(id)arg2 userInfo:(id)arg3;
+- (id)placeholderApplications;
+- (id)pluginsMatchingQuery:(id)arg1 applyFilter:(id /* block */)arg2;
+- (id)pluginsWithIdentifiers:(id)arg1 protocols:(id)arg2 version:(id)arg3;
+- (id)pluginsWithIdentifiers:(id)arg1 protocols:(id)arg2 version:(id)arg3 applyFilter:(id /* block */)arg4;
+- (id)pluginsWithIdentifiers:(id)arg1 protocols:(id)arg2 version:(id)arg3 withFilter:(id /* block */)arg4;
+- (id)privateURLSchemes;
+- (id)publicURLSchemes;
+- (bool)registerApplication:(id)arg1;
+- (bool)registerApplicationDictionary:(id)arg1;
+- (bool)registerApplicationDictionary:(id)arg1 withObserverNotification:(int)arg2;
+- (bool)registerBundleWithInfo:(id)arg1 options:(id)arg2 type:(unsigned long long)arg3 progress:(id)arg4;
+- (bool)registerPlugin:(id)arg1;
+- (id)remoteObserver;
+- (void)removeInstallProgressForBundleID:(id)arg1;
+- (void)removeObserver:(id)arg1;
+- (id)removedSystemApplications;
+- (bool)restoreSystemApplication:(id)arg1;
+- (void)scanForApplicationStateChangesFromRank:(id)arg1 toRank:(id)arg2;
+- (void)scanForApplicationStateChangesFromWhitelist:(id)arg1 to:(id)arg2;
+- (void)sendApplicationStateChangedNotificationsFor:(id)arg1;
+- (void)sendInstallNotificationForApp:(id)arg1 withPlugins:(id)arg2;
+- (void)sendUninstallNotificationForApp:(id)arg1 withPlugins:(id)arg2;
+- (bool)uninstallApplication:(id)arg1 withOptions:(id)arg2;
+- (bool)uninstallApplication:(id)arg1 withOptions:(id)arg2 error:(id*)arg3 usingBlock:(id /* block */)arg4;
+- (bool)uninstallApplication:(id)arg1 withOptions:(id)arg2 usingBlock:(id /* block */)arg3;
+- (bool)uninstallSystemApplication:(id)arg1 withOptions:(id)arg2 usingBlock:(id /* block */)arg3;
+- (bool)unregisterApplication:(id)arg1;
+- (bool)unregisterPlugin:(id)arg1;
+- (id)unrestrictedApplications;
+- (bool)updateRecordForApp:(id)arg1 withSINF:(id)arg2 iTunesMetadata:(id)arg3 error:(id*)arg4;
+- (bool)updateSINFWithData:(id)arg1 forApplication:(id)arg2 options:(id)arg3 error:(id*)arg4;
+- (bool)updateiTunesMetadataWithData:(id)arg1 forApplication:(id)arg2 options:(id)arg3 error:(id*)arg4;
+
+- (void)_sf_openURL:(id)arg1 withOptions:(id)arg2 completionHandler:(id /* block */)arg3;
+
+@end

+ 45 - 0
WebDriverAgent-5.8.0/PrivateHeaders/TextInput/TIPreferencesController.h

@@ -0,0 +1,45 @@
+/**
+ * iOS-Runtime-Headers/PrivateFrameworks/TextInput.framework.
+ * Text Input preferences controller to modify the keyboard preferences for iOS 8+.
+ *
+ * Note:
+ * "autocorrection" will be PrivateFrameworks/TextInput.framework/TIKeyboardState.h in the future?
+ */
+@interface TIPreferencesController : NSObject
+
+/**
+ * Whether the autocorrection is enabled.
+ */
+@property BOOL autocorrectionEnabled;
+
+/**
+ * Whether the predication is enabled.
+ * */
+@property BOOL predictionEnabled;
+
+/**
+ The shared singleton instance.
+ */
++ (instancetype)sharedPreferencesController;
+
+/**
+ Synchronise the change to save it on disk.
+ */
+- (void)synchronizePreferences;
+
+/**
+ * Modify the preference @c value by the @c key
+ *
+ * @param value The value to set it to @c key
+ * @param key The key name to set @c value to
+ */
+- (void)setValue:(NSValue *)value forPreferenceKey:(NSString *)key;
+
+/**
+ * Get the preferenve by @c key
+ *
+ * @param key The key name to get the value
+ * @return Whether the @c key is enabled
+ */
+- (BOOL)boolForPreferenceKey:(NSString *)key;
+@end

+ 27 - 0
WebDriverAgent-5.8.0/PrivateHeaders/UIKitCore/UIKeyboardImpl.h

@@ -0,0 +1,27 @@
+#if TARGET_OS_SIMULATOR
+/**
+ * iOS-Runtime-Headers/PrivateFrameworks/UIKitCore.framework/UIKeyboardImpl.h
+ */
+@interface UIKeyboardImpl
++ (instancetype)sharedInstance;
+/**
+ * Modify software keyboard condition on simulators for over Xcode 6
+ * This setting is global. The change applies to all instances of UIKeyboardImpl.
+ *
+ * Idea: https://chromium.googlesource.com/chromium/src/base/+/ababb4cf8b6049a642a2f361b1006a07561c2d96/test/test_support_ios.mm#41
+ *
+ * @param enabled Whether turn setAutomaticMinimizationEnabled on
+ */
+- (void)setAutomaticMinimizationEnabled:(BOOL)enabled;
+
+/**
+* Modify software keyboard condition on simulators for over Xcode 6
+* This setting is global. The change applies to all instances of UIKeyboardImpl.
+*
+* Idea: https://chromium.googlesource.com/chromium/src/base/+/ababb4cf8b6049a642a2f361b1006a07561c2d96/test/test_support_ios.mm#41
+*
+* @param enabled Whether turn setSoftwareKeyboardShownByTouch on
+*/
+- (void)setSoftwareKeyboardShownByTouch:(BOOL)enabled;
+@end
+#endif  // TARGET_IPHONE_SIMULATOR

+ 28 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/CDStructures.h

@@ -0,0 +1,28 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#pragma mark Blocks
+
+typedef void (^CDUnknownBlockType)(void); // return type and parameters are unknown
+
+typedef struct {
+    unsigned int _field1;
+    unsigned int _field2;
+    unsigned int _field3;
+    unsigned int _field4;
+    unsigned int _field5;
+    unsigned int _field6;
+    unsigned int _field7;
+} CDStruct_a561fd19;
+
+typedef struct {
+    unsigned short _field1;
+    unsigned short _field2;
+    unsigned short _field3[1];
+} CDStruct_27a325c0;
+
+int _XCTSetApplicationStateTimeout(double timeout);
+double _XCTApplicationStateTimeout(void);

+ 11 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/NSString-XCTAdditions.h

@@ -0,0 +1,11 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import <Foundation/Foundation.h>
+
+@interface NSString (XCTAdditions)
+- (id)xct_quotedSwiftStringRepresentation;
+@end

+ 11 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/NSValue-XCTestAdditions.h

@@ -0,0 +1,11 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import <Foundation/Foundation.h>
+
+@interface NSValue (XCTestAdditions)
+- (id)xct_contentDescription;
+@end

+ 11 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/UIGestureRecognizer-RecordingAdditions.h

@@ -0,0 +1,11 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import <UIKit/UIGestureRecognizer.h>
+
+@interface UIGestureRecognizer (RecordingAdditions)
+- (id)_automationName;
+@end

+ 11 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/UILongPressGestureRecognizer-RecordingAdditions.h

@@ -0,0 +1,11 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import <UIKit/UILongPressGestureRecognizer.h>
+
+@interface UILongPressGestureRecognizer (RecordingAdditions)
+- (id)_automationName;
+@end

+ 11 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/UIPanGestureRecognizer-RecordingAdditions.h

@@ -0,0 +1,11 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import <UIKit/UIPanGestureRecognizer.h>
+
+@interface UIPanGestureRecognizer (RecordingAdditions)
+- (id)_automationName;
+@end

+ 11 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/UIPinchGestureRecognizer-RecordingAdditions.h

@@ -0,0 +1,11 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import <UIKit/UIPinchGestureRecognizer.h>
+
+@interface UIPinchGestureRecognizer (RecordingAdditions)
+- (id)_automationName;
+@end

+ 11 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/UISwipeGestureRecognizer-RecordingAdditions.h

@@ -0,0 +1,11 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import <UIKit/UISwipeGestureRecognizer.h>
+
+@interface UISwipeGestureRecognizer (RecordingAdditions)
+- (id)_automationName;
+@end

+ 11 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/UITapGestureRecognizer-RecordingAdditions.h

@@ -0,0 +1,11 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import <UIKit/UITapGestureRecognizer.h>
+
+@interface UITapGestureRecognizer (RecordingAdditions)
+- (id)_automationName;
+@end

+ 55 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCAXClient_iOS.h

@@ -0,0 +1,55 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import <WebDriverAgentLib/CDStructures.h>
+#import <CoreGraphics/CoreGraphics.h>
+
+@class NSMutableDictionary;
+
+@interface XCAXClient_iOS : NSObject
+{
+    NSMutableDictionary *_userTestingNotificationHandlers;
+    NSMutableDictionary *_cacheAccessibilityLoadedValuesForPIDs;
+    unsigned long long *_alertNotificationCounter;
+}
+@property double AXTimeout;
+
+// Added since Xcode 10.2
+@property(readonly) id applicationProcessTracker;
+
+- (BOOL)_setAXTimeout:(double)arg1 error:(NSError **)arg2;
+- (NSData *)screenshotData;
+- (BOOL)performAction:(int)arg1 onElement:(id)arg2 value:(id)arg3 error:(id *)arg4;
+- (id)parameterizedAttributeForElement:(id)arg1 attribute:(id)arg2 parameter:(id)arg3;
+- (BOOL)setAttribute:(id)arg1 value:(id)arg2 element:(id)arg3 outError:(id *)arg4;
+// since Xcode10
+- (id)attributesForElement:(id)arg1 attributes:(id)arg2 error:(id *)arg3;
+- (id)attributesForElementSnapshot:(id)arg1 attributeList:(id)arg2;
+- (id)snapshotForApplication:(id)arg1 attributeList:(id)arg2 parameters:(id)arg3;
+- (id)defaultParameters;
+- (id)defaultAttributes;
+- (void)notifyWhenViewControllerViewDidDisappearReply:(CDUnknownBlockType)arg1;
+- (void)notifyWhenViewControllerViewDidAppearReply:(CDUnknownBlockType)arg1;
+- (void)notifyWhenNoAnimationsAreActiveForApplication:(id)arg1 reply:(CDUnknownBlockType)arg2;
+- (void)notifyWhenEventLoopIsIdleForApplication:(id)arg1 reply:(CDUnknownBlockType)arg2;
+- (id)interruptingUIElementAffectingSnapshot:(id)arg1;
+- (void)handleAccessibilityNotification:(int)arg1 withPayload:(id)arg2;
+- (void)notifyOnNextOccurrenceOfUserTestingEvent:(id)arg1 handler:(CDUnknownBlockType)arg2;
+- (void)handleUserTestingNotification:(id)arg1;
+- (id)elementAtPoint:(CGPoint)arg1 error:(id *)arg2;
+- (BOOL)cachedAccessibilityLoadedValueForPID:(int)arg1;
+- (NSArray/*XCAccessibilityElement*/ *)activeApplications;
+- (id)systemApplication;
+- (BOOL)enableFauxCollectionViewCells:(id *)arg1;
+- (BOOL)loadAccessibility:(id *)arg1;
+- (BOOL)_registerForAXNotification:(int)arg1 error:(id *)arg2;
+- (BOOL)_loadAccessibility:(id *)arg1;
+// Since Xcode 11
+- (id)requestSnapshotForElement:(id/*XCAccessibilityElement*/)arg1 attributes:(id)arg2 parameters:(id)arg3 error:(NSError **)arg4;
+
+- (id)init;
+
+@end

+ 39 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCActivityRecord.h

@@ -0,0 +1,39 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+@class NSArray, NSData, NSDate, NSString, NSUUID, XCSynthesizedEventRecord;
+
+@interface XCActivityRecord : NSObject <NSSecureCoding>
+{
+    NSString *_title;
+    NSUUID *_uuid;
+    NSDate *_start;
+    NSDate *_finish;
+    BOOL _hasSubactivities;
+    NSData *_screenImageData;
+    id/*XCElementSnapshot*/ _snapshot;
+    NSArray *_elementsOfInterest;
+    XCSynthesizedEventRecord *_synthesizedEvent;
+    NSData *_diagnosticReportData;
+    NSData *_memoryGraphData;
+}
+
+@property(copy) NSData *memoryGraphData; // @synthesize memoryGraphData=_memoryGraphData;
+@property(copy) NSData *diagnosticReportData; // @synthesize diagnosticReportData=_diagnosticReportData;
+@property(retain) XCSynthesizedEventRecord *synthesizedEvent; // @synthesize synthesizedEvent=_synthesizedEvent;
+@property(copy) NSArray *elementsOfInterest; // @synthesize elementsOfInterest=_elementsOfInterest;
+@property(retain) id/*XCElementSnapshot*/ *snapshot; // @synthesize snapshot=_snapshot;
+@property(copy) NSData *screenImageData; // @synthesize screenImageData=_screenImageData;
+@property BOOL hasSubactivities; // @synthesize hasSubactivities=_hasSubactivities;
+@property(copy) NSDate *start; // @synthesize start=_start;
+@property(copy) NSDate *finish; // @synthesize finish=_finish;
+@property(copy) NSUUID *uuid; // @synthesize uuid=_uuid;
+@property(copy) NSString *title; // @synthesize title=_title;
+@property(readonly) double duration;
+
+- (id)init;
+
+@end

+ 44 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCApplicationMonitor.h

@@ -0,0 +1,44 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import "XCTestObservation.h"
+
+@class NSArray, NSMutableDictionary, NSObject<OS_dispatch_queue>, NSString;
+
+@interface XCApplicationMonitor : NSObject <XCTUIApplicationMonitor>
+{
+    NSMutableDictionary *_applicationImplementations;
+    NSMutableDictionary *_applicationProcessesForPID;
+    NSMutableDictionary *_applicationProcessesForToken;
+    NSMutableSet *_launchedApplications;
+    NSObject<OS_dispatch_queue> *_queue;
+}
+@property NSObject<OS_dispatch_queue> *queue; // @synthesize queue=_queue;
+@property(readonly, copy) NSArray *monitoredApplications;
+
++ (instancetype)sharedMonitor;
+- (void)requestAutomationSessionForTestTargetWithPID:(int)arg1 reply:(CDUnknownBlockType)arg2;
+- (void)processWithToken:(id)arg1 exitedWithStatus:(int)arg2;
+- (void)stopTrackingProcessWithToken:(id)arg1;
+- (void)crashInProcessWithBundleID:(id)arg1 path:(id)arg2 pid:(int)arg3 symbol:(id)arg4;
+- (void)waitForUnrequestedTerminationOfLaunchedApplicationsWithTimeout:(double)arg1;
+- (void)_waitForCrashReportOrCleanExitStatusOfApp:(id)arg1;
+- (id)_appFromSet:(id)arg1 thatTransitionedToNotRunningDuringTimeInterval:(double)arg2;
+- (void)terminationTrackedForApplicationProcess:(id)arg1;
+- (void)launchRequestedForApplicationProcess:(id)arg1;
+- (void)_terminateApplicationProcess:(id)arg1;
+- (void)terminateApplicationProcess:(id)arg1 withToken:(id)arg2;
+- (id)monitoredApplicationWithProcessIdentifier:(int)arg1;
+- (void)applicationWithBundleID:(id)arg1 didUpdatePID:(int)arg2 state:(unsigned long long)arg3;
+- (void)_beginMonitoringApplication:(id)arg1;
+- (void)setApplicationProcess:(id)arg1 forToken:(id)arg2;
+- (id)applicationProcessWithToken:(id)arg1;
+- (void)setApplicationProcess:(id)arg1 forPID:(int)arg2;
+- (id)applicationProcessWithPID:(int)arg1;
+- (id)applicationImplementationForApplicationAtPath:(id)arg1 bundleID:(id)arg2;
+- (id)init;
+
+@end

+ 18 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCApplicationMonitor_iOS.h

@@ -0,0 +1,18 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import <XCTest/XCApplicationMonitor.h>
+
+@interface XCApplicationMonitor_iOS : XCApplicationMonitor
+{
+}
+
+- (void)_terminateApplicationProcess:(id)arg1;
+- (id)monitoredApplicationWithProcessIdentifier:(int)arg1;
+- (void)_beginMonitoringApplication:(id)arg1;
+- (id)init;
+
+@end

+ 23 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCApplicationQuery.h

@@ -0,0 +1,23 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import <XCTest/XCUIElementQuery.h>
+
+@class XCUIApplication;
+
+@interface XCApplicationQuery : XCUIElementQuery
+{
+    XCUIApplication *_application;
+    id/*XCElementSnapshot*/ _lastSnapshot;
+}
+
+@property(retain) id/*XCElementSnapshot*/ lastSnapshot; // @synthesize lastSnapshot=_lastSnapshot;
+- (id)matchingSnapshotsWithError:(id *)arg1;
+- (id)application;
+- (id)initWithApplication:(id)arg1;
+
+
+@end

+ 11 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCDebugLogDelegate-Protocol.h

@@ -0,0 +1,11 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+@class NSString;
+
+@protocol XCDebugLogDelegate <NSObject>
+- (void)logDebugMessage:(NSString *)arg1;
+@end

+ 27 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCDeviceEvent.h

@@ -0,0 +1,27 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+@interface XCDeviceEvent : NSObject <NSSecureCoding>
+{
+    unsigned int _eventPage;
+    unsigned int _usage;
+    double _duration;
+    unsigned long long _type;
+    double _rotation;
+}
+@property unsigned long long type; // @synthesize type=_type;
+@property double rotation; // @synthesize rotation=_rotation;
+@property double duration; // @synthesize duration=_duration;
+@property unsigned int usage; // @synthesize usage=_usage;
+@property unsigned int eventPage; // @synthesize eventPage=_eventPage;
+@property(readonly) BOOL isButtonHoldEvent;
+
++ (id)deviceEventForDigitalCrownRotation:(double)arg1 velocity:(double)arg2;
++ (id)deviceEventWithPage:(unsigned int)arg1 usage:(unsigned int)arg2 duration:(double)arg3;
+
+- (void)dispatch;
+
+@end

+ 73 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCEventGenerator.h

@@ -0,0 +1,73 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import <TargetConditionals.h>
+
+#import <UIKit/UIKit.h>
+
+#import <WebDriverAgentLib/CDStructures.h>
+
+@class XCSynthesizedEventRecord;
+
+typedef void (^XCEventGeneratorHandler)(XCSynthesizedEventRecord *record, NSError *error);
+
+@interface XCEventGenerator : NSObject
+{
+  NSObject<OS_dispatch_queue> *_eventQueue;
+  struct __CFRunLoopObserver *_generationObserver;
+  unsigned long long _generation;
+}
+
++ (id)sharedGenerator;
+@property unsigned long long generation; // @synthesize generation=_generation;
+//@property(readonly) NSObject<OS_dispatch_queue> *eventQueue; // @synthesize eventQueue=_eventQueue;
+
+#if TARGET_OS_TV
+// TODO: tvOS-specific headers
+
+#elif TARGET_OS_IPHONE
+- (double)rotateInRect:(CGRect)arg1 withRotation:(double)arg2 velocity:(double)arg3 orientation:(UIInterfaceOrientation)arg4 handler:(XCEventGeneratorHandler)arg5;
+- (double)pinchInRect:(CGRect)arg1 withScale:(double)arg2 velocity:(double)arg3 orientation:(UIInterfaceOrientation)arg4 handler:(XCEventGeneratorHandler)arg5;
+- (double)pressAtPoint:(CGPoint)arg1 forDuration:(double)arg2 liftAtPoint:(CGPoint)arg3 velocity:(double)arg4 orientation:(UIInterfaceOrientation)arg5 name:(NSString *)arg6 handler:(XCEventGeneratorHandler)arg7;
+- (double)pressAtPoint:(CGPoint)arg1 forDuration:(double)arg2 orientation:(UIInterfaceOrientation)arg3 handler:(XCEventGeneratorHandler)arg4;
+
+// iOS 9.x specific, gone in iOS 10.3
+- (double)tapWithNumberOfTaps:(unsigned long long)arg1 numberOfTouches:(unsigned long long)arg2 inRect:(CGRect)arg3 orientation:(UIInterfaceOrientation)arg4 handler:(XCEventGeneratorHandler)arg5;
+- (double)twoFingerTapInRect:(CGRect)arg1 orientation:(UIInterfaceOrientation)arg2 handler:(XCEventGeneratorHandler)arg3;
+- (double)doubleTapAtPoint:(CGPoint)arg1 orientation:(UIInterfaceOrientation)arg2 handler:(XCEventGeneratorHandler)arg3;
+- (double)tapAtPoint:(CGPoint)arg1 orientation:(UIInterfaceOrientation)arg2 handler:(XCEventGeneratorHandler)arg3;
+
+// iOS 10.x specific
+- (double)tapAtTouchLocations:(NSArray *)locations numberOfTaps:(NSInteger)numberOfTaps orientation:(UIInterfaceOrientation)orientation handler:(XCEventGeneratorHandler)handler;
+
+// iOS 10.3 specific
+- (double)forcePressAtPoint:(struct CGPoint)arg1 orientation:(long long)arg2 handler:(CDUnknownBlockType)arg3;
+
+#elif TARGET_OS_MAC
+- (double)sendKeyboardInputs:(id)arg1 layout:(id)arg2 handler:(CDUnknownBlockType)arg3;
+- (double)sendKey:(id)arg1 modifierFlags:(unsigned long long)arg2 handler:(CDUnknownBlockType)arg3;
+- (double)sendString:(id)arg1 handler:(CDUnknownBlockType)arg2;
+- (double)setModifiers:(unsigned long long)arg1 merge:(BOOL)arg2 original:(unsigned long long *)arg3 handler:(CDUnknownBlockType)arg4;
+- (double)sendKey:(unsigned short)arg1 down:(BOOL)arg2 modifiers:(unsigned long long)arg3 string:(id)arg4 handler:(CDUnknownBlockType)arg5;
+- (double)hitKey:(unsigned short)arg1 handler:(CDUnknownBlockType)arg2;
+- (double)scrollByX:(double)arg1 y:(double)arg2 handler:(CDUnknownBlockType)arg3;
+- (double)clickAtPoint:(CGPoint)arg1 forDuration:(double)arg2 releaseAtPoint:(CGPoint)arg3 velocity:(double)arg4 handler:(CDUnknownBlockType)arg5;
+- (double)clickAndDragFromPoint:(CGPoint)arg1 toPoint:(CGPoint)arg2 handler:(CDUnknownBlockType)arg3;
+- (double)rightClickAtPoint:(CGPoint)arg1 handler:(CDUnknownBlockType)arg2;
+- (double)doubleClickAtPoint:(CGPoint)arg1 handler:(CDUnknownBlockType)arg2;
+- (double)clickAtPoint:(CGPoint)arg1 handler:(CDUnknownBlockType)arg2;
+- (double)hoverAtPoint:(CGPoint)arg1 handler:(CDUnknownBlockType)arg2;
+- (CGPoint)_currentMousePosition;
+- (void)_clickMouseButton:(unsigned int)arg1 withCount:(unsigned long long)arg2 atPoint:(CGPoint)arg3 handleCompletion:(CDUnknownBlockType)arg4;
+- (void)_moveMouseToPoint:(CGPoint)arg1 handleCompletion:(CDUnknownBlockType)arg2;
+- (void)_postCGEvent:(struct __CGEvent *)arg1 handleCompletion:(CDUnknownBlockType)arg2;
+#endif
+
+- (void)_startEventSequenceWithSteppingCallback:(CDUnknownBlockType)arg1;
+- (void)_scheduleCallback:(CDUnknownBlockType)arg1 afterInterval:(double)arg2;
+- (id)init;
+
+@end

+ 36 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCKeyMappingPath.h

@@ -0,0 +1,36 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+@class NSSet, NSString;
+
+@interface XCKeyMappingPath : NSObject <NSCopying>
+{
+    unsigned long long _keyState;
+    XCKeyMappingPath *_next;
+    NSSet *_inputs;
+    NSString *_output;
+    unsigned long long _length;
+    NSString *_producedString;
+}
+@property(readonly, copy) NSString *producedString; // @synthesize producedString=_producedString;
+@property(readonly) unsigned long long length; // @synthesize length=_length;
+@property(readonly, copy) NSString *output; // @synthesize output=_output;
+@property(readonly, copy) NSSet *inputs; // @synthesize inputs=_inputs;
+@property(readonly, copy) XCKeyMappingPath *next; // @synthesize next=_next;
+@property(readonly) unsigned long long keyState; // @synthesize keyState=_keyState;
+@property(readonly, getter=isEmpty) BOOL empty;
+@property(readonly, getter=isComplete) BOOL complete;
+
++ (id)pathWithKeyState:(unsigned long long)arg1 next:(id)arg2 inputs:(id)arg3 output:(id)arg4;
++ (id)emptyPath;
+
+- (id)inputSequenceWithRequiredFlags:(unsigned long long)arg1 excludedFlags:(unsigned long long)arg2;
+- (id)inputWithRequiredFlags:(unsigned long long)arg1 excludedFlags:(unsigned long long)arg2;
+
+- (id)initWithKeyState:(unsigned long long)arg1 next:(id)arg2 inputs:(id)arg3 output:(id)arg4;
+- (id)init;
+
+@end

+ 41 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCKeyboardInputSolver.h

@@ -0,0 +1,41 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+@class NSArray, NSMutableArray, NSMutableDictionary, NSString, XCKeyboardKeyMap;
+
+@interface XCKeyboardInputSolver : NSObject <NSCopying>
+{
+    XCKeyboardKeyMap *_keyMap;
+    NSString *_string;
+    unsigned long long _requiredFlags;
+    unsigned long long _excludedFlags;
+    unsigned long long _currentFlags;
+    BOOL _includeModifierKeys;
+    struct _NSRange _unsolvedRange;
+    NSMutableArray *_solvedInputs;
+    NSMutableDictionary *_solvingPaths;
+}
+
+@property(readonly) NSArray *solvedInputs; // @synthesize solvedInputs=_solvedInputs;
+@property(readonly) struct _NSRange unsolvedRange; // @synthesize unsolvedRange=_unsolvedRange;
+@property BOOL includeModifierKeys; // @synthesize includeModifierKeys=_includeModifierKeys;
+@property unsigned long long currentFlags; // @synthesize currentFlags=_currentFlags;
+@property unsigned long long excludedFlags; // @synthesize excludedFlags=_excludedFlags;
+@property unsigned long long requiredFlags; // @synthesize requiredFlags=_requiredFlags;
+@property(readonly, copy) NSString *string; // @synthesize string=_string;
+@property(readonly) XCKeyboardKeyMap *keyMap; // @synthesize keyMap=_keyMap;
+@property(readonly, getter=isComplete) BOOL complete;
+
+- (id)_solve;
+- (id)solve;
+- (void)solveWithSolutionRange:(struct _NSRange)arg1 results:(id)arg2;
+- (id)extractCompletePathsWithSolutionRange:(struct _NSRange)arg1;
+- (unsigned long long)advancePaths;
+- (void)advancePath:(id)arg1 range:(id)arg2;
+- (id)initWithKeyMap:(id)arg1 string:(id)arg2;
+- (id)init;
+
+@end

+ 101 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCKeyboardKeyMap.h

@@ -0,0 +1,101 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+
+
+@class NSCharacterSet, NSData, NSDictionary, NSIndexSet, NSSet;
+
+@interface XCKeyboardKeyMap : NSObject
+{
+    struct __GSKeyboard *_inputSource;
+    NSData *_layoutData;
+    const struct {
+        unsigned short _field1;
+        unsigned short _field2;
+        unsigned int _field3;
+        unsigned int _field4;
+        CDStruct_a561fd19 _field5[1];
+    } *_layoutHeader;
+    const CDStruct_a561fd19 *_keyboardType;
+    const struct {
+        unsigned short _field1;
+        unsigned short _field2;
+        unsigned int _field3;
+        unsigned char _field4[1];
+    } *_keyModifiersToTableNum;
+    const struct {
+        unsigned short _field1;
+        unsigned short _field2;
+        unsigned int _field3;
+        unsigned int _field4[1];
+    } *_keyToCharTableIndex;
+    const struct {
+        unsigned short _field1;
+        unsigned short _field2;
+        unsigned int _field3[1];
+    } *_keyStateRecordsIndex;
+    const CDStruct_27a325c0 *_keyStateTerminators;
+    const CDStruct_27a325c0 *_keySequenceDataIndex;
+    NSSet *_numericPadKeyCodes;
+    NSDictionary *_systemKeyForKeyCode;
+    NSDictionary *_inputsForSystemKey;
+    NSDictionary *_inputForKey;
+    unsigned long long _longestSystemKey;
+    NSDictionary *_modifiersForTableID;
+    NSCharacterSet *_validKeyOutputIDs;
+    NSDictionary *_inputsForKeyOutputID;
+    NSSet *_safeTerminationInputs;
+    struct _NSRange _keyStateOutputIDsRange;
+    NSIndexSet *_keyStatesWithTerminator;
+    NSCharacterSet *_validKeyStates;
+    NSCharacterSet *_validSequenceIDs;
+    BOOL _canEmitSequenceIDAndKeyState;
+    NSDictionary *_inexactSequencesNFC;
+    unsigned long long _longestInexactSequence;
+    NSDictionary *_stringsForIntendedStrings;
+}
+@property(readonly, getter=isPrimary) BOOL primary;
+@property(readonly) BOOL canEmitSequenceIDAndKeyState; // @synthesize canEmitSequenceIDAndKeyState=_canEmitSequenceIDAndKeyState;
+
+- (id)stringForIntendedString:(id)arg1;
+- (id)stringForInputs:(id)arg1;
+- (id)stringForInput:(id)arg1;
+- (id)_stringForInput:(id)arg1 keyState:(unsigned long long *)arg2 output:(id)arg3;
+- (void)addCachedPaths:(id)arg1 endingString:(id)arg2 range:(struct _NSRange)arg3;
+- (id)cachedPathsEndingString:(id)arg1 range:(struct _NSRange)arg2;
+- (void)_pathsForSequenceID:(unsigned short)arg1 range:(id)arg2 nextPath:(id)arg3 results:(id)arg4;
+- (BOOL)_pathsForSystemKeyEndingString:(id)arg1 range:(struct _NSRange)arg2 nextPath:(id)arg3 results:(id)arg4;
+- (id)pathsEndingString:(id)arg1 range:(id)arg2 nextPath:(id)arg3;
+- (id)_pathByTerminatingKeyState:(unsigned short)arg1 next:(id)arg2 output:(id)arg3 sequenceID:(unsigned short)arg4;
+- (id)pathsForSequenceID:(unsigned short)arg1 nextPath:(id)arg2;
+- (void)_sequenceIDsEndingString:(id)arg1 range:(struct _NSRange)arg2 suffixRange:(struct _NSRange)arg3 results:(id)arg4;
+- (id)sequenceIDsEndingString:(id)arg1 range:(struct _NSRange)arg2;
+- (id)sequenceIDsForString:(id)arg1 range:(struct _NSRange)arg2;
+- (id)sequenceIDsForString:(id)arg1;
+- (id)stringForSequenceID:(unsigned short)arg1;
+- (id)inputsForOutputID:(unsigned short)arg1;
+- (id)inputsForText:(id)arg1 currentFlags:(unsigned long long)arg2;
+- (id)inputsForText:(id)arg1;
+- (id)inputsToSetModifierFlags:(unsigned long long)arg1 currentFlags:(unsigned long long)arg2;
+- (id)inputForKey:(id)arg1 modifierFlags:(unsigned long long)arg2;
+- (BOOL)canEmitKeyState:(unsigned short)arg1;
+- (BOOL)canEmitSequenceIDAsOutputID:(unsigned short)arg1;
+- (BOOL)canEmitSequenceID:(unsigned short)arg1;
+- (BOOL)canEmitOutputID:(unsigned short)arg1;
+- (unsigned long long)uniqueKeyboardType:(unsigned long long)arg1;
+- (BOOL)supportsKeyboardType:(unsigned long long)arg1;
+
+- (void)_initIntendedStrings;
+- (void)_initInexactSequences;
+- (void)_initValidity;
+- (void)_initKeyStates;
+- (void)_initKeyOutputs;
+- (void)_initModifiers;
+- (void)_initKeyboardKeys;
+- (id)initWithInputSource:(struct __GSKeyboard *)arg1 layoutData:(id)arg2 index:(unsigned long long)arg3;
+- (id)init;
+
+@end

+ 35 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCKeyboardLayout.h

@@ -0,0 +1,35 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+@class NSArray, NSData, NSString, XCKeyboardKeyMap;
+
+@interface XCKeyboardLayout : NSObject
+{
+    struct __GSKeyboard *_source;
+    NSString *_identifier;
+    NSData *_data;
+    NSArray *_keyMaps;
+    XCKeyboardKeyMap *_primaryKeyMap;
+}
+@property(readonly) XCKeyboardKeyMap *primaryKeyMap; // @synthesize primaryKeyMap=_primaryKeyMap;
+@property(readonly, copy) NSString *identifier; // @synthesize identifier=_identifier;
+
++ (id)unicodeHexKeyboardLayout;
++ (id)currentKeyboardLayout;
++ (void)enumerateKeyboardLayoutsUsingBlock:(CDUnknownBlockType)arg1;
++ (id)keyboardLayoutWithInputSource:(struct __GSKeyboard *)arg1;
++ (id)keyboardLayoutWithIdentifier:(id)arg1;
+
+- (BOOL)deactivate:(id)arg1 error:(id *)arg2;
+- (id)activateWithError:(id *)arg1;
+- (id)_setActiveLayoutState:(id)arg1 error:(id *)arg2;
+- (void)enumerateKeyMapsUsingBlock:(CDUnknownBlockType)arg1;
+- (id)keyMapForKeyboardType:(unsigned long long)arg1;
+
+- (id)initWithInputSource:(struct __GSKeyboard *)arg1;
+- (id)init;
+
+@end

+ 30 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCPointerEvent.h

@@ -0,0 +1,30 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+@interface XCPointerEvent : NSObject <NSSecureCoding>
+{
+    unsigned long long _eventType;
+    unsigned long long _buttonType;
+    double _pressure;
+    double _offset;
+    struct CGPoint _coordinate;
+}
+@property double offset; // @synthesize offset=_offset;
+@property double pressure; // @synthesize pressure=_pressure;
+@property struct CGPoint coordinate; // @synthesize coordinate=_coordinate;
+@property unsigned long long buttonType; // @synthesize buttonType=_buttonType;
+@property unsigned long long eventType; // @synthesize eventType=_eventType;
+
++ (CDUnknownBlockType)offsetComparator;
++ (id)pointerEventWithType:(unsigned long long)arg1 buttonType:(unsigned long long)arg2 coordinate:(struct CGPoint)arg3 pressure:(double)arg4 offset:(double)arg5;
++ (id)pointerEventWithType:(unsigned long long)arg1 buttonType:(unsigned long long)arg2 coordinate:(struct CGPoint)arg3 offset:(double)arg4;
+// available since Xcode 10.2
++ (id)keyboardEventForKeyCode:(unsigned long long)arg1 keyPhase:(unsigned long long)arg2 modifierFlags:(unsigned long long)arg3 offset:(double)arg4;
+
+
+- (id)init;
+
+@end

+ 43 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCPointerEventPath.h

@@ -0,0 +1,43 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+@class NSArray, NSMutableArray;
+
+@interface XCPointerEventPath : NSObject <NSSecureCoding>
+{
+    NSMutableArray *_pointerEvents;
+    BOOL _immutable;
+    unsigned long long _pathType;
+    unsigned long long _index;
+}
+@property BOOL immutable; // @synthesize immutable=_immutable;
+@property unsigned long long index; // @synthesize index=_index;
+@property(readonly) unsigned long long pathType; // @synthesize pathType=_pathType;
+@property(readonly) NSArray *pointerEvents;
+
+- (id)firstEventAfterOffset:(double)arg1;
+- (id)lastEventBeforeOffset:(double)arg1;
+- (void)_addPointerEvent:(id)arg1;
+- (void)releaseButton:(unsigned long long)arg1 atOffset:(double)arg2;
+- (void)pressButton:(unsigned long long)arg1 atOffset:(double)arg2;
+- (void)liftUpAtOffset:(double)arg1;
+- (void)moveToPoint:(struct CGPoint)arg1 atOffset:(double)arg2;
+- (void)pressDownWithPressure:(double)arg1 atOffset:(double)arg2;
+- (void)pressDownAtOffset:(double)arg1;
+- (id)initForMouseAtPoint:(struct CGPoint)arg1 offset:(double)arg2;
+- (id)initForTouchAtPoint:(CGPoint)arg1 offset:(double)arg2;
+// Since Xcode 10.2
+- (void)typeKey:(id)arg1 modifiers:(unsigned long long)arg2 atOffset:(double)arg3;
+// Since Xcode 12.beta5
+- (void)typeText:(id)arg1 atOffset:(double)arg2 typingSpeed:(unsigned long long)arg3 shouldRedact:(_Bool)arg4;
+// Since Xcode 10.2
+- (id)initForTextInput;
+// Since Xcode 10.2
+- (void)setModifiers:(unsigned long long)arg1 mergeWithCurrentModifierFlags:(_Bool)arg2 atOffset:(double)arg3;
+
+- (id)init;
+
+@end

+ 42 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCSourceCodeRecording.h

@@ -0,0 +1,42 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+@class NSArray, NSMutableArray, NSMutableDictionary, NSMutableSet;
+
+@interface XCSourceCodeRecording : NSObject
+{
+    unsigned long long _language;
+    NSMutableArray *_treeNodes;
+    NSMutableSet *_variableTreeNodes;
+    NSArray *_reservedNames;
+    NSMutableDictionary *_variableNameToContentNodeDictionary;
+    long long _nextVariableCount;
+}
+
+@property(retain) NSMutableDictionary *variableNameToContentNodeDictionary; // @synthesize variableNameToContentNodeDictionary=_variableNameToContentNodeDictionary;
+@property(retain, setter=_setTreeNodes:) NSArray *_treeNodes; // @synthesize _treeNodes;
+@property(readonly) unsigned long long language; // @synthesize language=_language;
+- (BOOL)_shareLongestCommonSection_StartAtIndex:(long long)arg1 nextCandidateIndex:(long long *)arg2;
+- (BOOL)_createAndShareLocalVariableUsingSourceNode:(id)arg1 atIndex:(long long)arg2;
+- (id)_variableNameForVariableContentNode:(id)arg1;
+- (unsigned long long)_variableClassTypeForVariableContentNode:(id)arg1;
+- (id)_variableSuffixForElementType:(unsigned long long)arg1 classType:(unsigned long long)arg2;
+- (id)_transformedVariablePrefixForLabel:(id)arg1;
+- (id)_variableNameForElementType:(unsigned long long)arg1 label:(id)arg2 classType:(unsigned long long)arg3;
+- (id)_uniqueVariableNameWithName:(id)arg1;
+- (id)_nodes:(id)arg1 matchingDistanceFromRoot:(BOOL)arg2 variableContentNode:(id)arg3 withVariableName:(id)arg4 startingIndex:(long long)arg5 replacedNodes:(long long *)arg6 indexOfFirstReplacedNode:(long long *)arg7;
+- (BOOL)_shareCommonSectionsUsingExistingLocalVariables;
+- (void)_shareCommonSectionsInLocalVariables;
+- (id)variableNodeForNode:(id)arg1 withName:(id)arg2 variableType:(unsigned long long)arg3;
+- (id)_sourceCodePrefixForVariableName:(id)arg1 variableType:(unsigned long long)arg2;
+- (id)_stringRepresentationWithOptions:(unsigned long long)arg1 error:(id *)arg2;
+- (id)stringRepresentationWithError:(id *)arg1;
+- (void)appendNode:(id)arg1 replaceLastNode:(BOOL)arg2;
+- (id)copy;
+- (id)initWithLanguage:(unsigned long long)arg1 reservedNames:(id)arg2;
+- (id)init;
+
+@end

+ 84 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCSourceCodeTreeNode.h

@@ -0,0 +1,84 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+@class NSArray, NSIndexPath, NSNumber, NSSet, NSString;
+
+@interface XCSourceCodeTreeNode : NSObject <NSSecureCoding>
+{
+    NSString *_sourceCodePrefix;
+    NSString *_sourceCodeSuffix;
+    NSArray *_childNodes;
+    long long _selectedChildNodeIndex;
+    XCSourceCodeTreeNode *_parentNode;
+    NSSet *_identifierValues;
+    NSNumber *_index;
+    NSString *_queryType;
+    NSNumber *_returnType;
+    NSNumber *_calleeType;
+    NSNumber *_elementType;
+}
+@property(copy, setter=_setElementType:) NSNumber *_elementType; // @synthesize _elementType;
+@property(copy, setter=_setCalleeType:) NSNumber *_calleeType; // @synthesize _calleeType;
+@property(copy, setter=_setReturnType:) NSNumber *_returnType; // @synthesize _returnType;
+@property(copy, setter=_setQueryType:) NSString *_queryType; // @synthesize _queryType;
+@property(copy, setter=_setIndex:) NSNumber *_index; // @synthesize _index;
+@property(copy, setter=_setIdentifierValues:) NSSet *_identifierValues; // @synthesize _identifierValues;
+@property(retain) XCSourceCodeTreeNode *selectedChildNode;
+@property(readonly) NSIndexPath *selectedChildNodeIndexPath;
+@property unsigned long long selectedChildNodeIndex;
+@property(retain) NSArray *childNodes;
+@property(copy) NSString *sourceCodeSuffix;
+@property(copy) NSString *sourceCodePrefix;
+@property __weak XCSourceCodeTreeNode *parentNode;
+@property(readonly) XCSourceCodeTreeNode *rootNode;
+@property(readonly, copy) NSString *displayName;
+
++ (id)_stringRepresentationsOfNodesAsSeparateLines:(id)arg1 language:(unsigned long long)arg2 options:(unsigned long long)arg3 error:(id *)arg4;
++ (id)stringRepresentationsOfNodesAsSeparateLines:(id)arg1 language:(unsigned long long)arg2 error:(id *)arg3;
++ (unsigned long long)_defaultOptions;
++ (id)treeForStringRepresentation:(id)arg1 range:(struct _NSRange)arg2 error:(id *)arg3;
++ (struct _NSRange)_rangeOfFirstSourceCodeTreeInString:(id)arg1 range:(struct _NSRange)arg2 compiledSourceCodeRange:(struct _NSRange *)arg3 jsonRange:(struct _NSRange *)arg4;
++ (struct _NSRange)rangeOfFirstSourceCodeTreeInString:(id)arg1 range:(struct _NSRange)arg2;
++ (id)_sourceCodeForNodes:(id)arg1 error:(id *)arg2;
++ (BOOL)_isContentOfNodesArraysEqual:(id)arg1 ignoringSelection:(BOOL)arg2 toDistanceFromRoot:(long long)arg3;
++ (BOOL)_isContentOfNodesEqual:(id)arg1 ignoringSelection:(BOOL)arg2 toDistanceFromRoot:(long long)arg3;
++ (BOOL)_isContentEqualIgnoringSelection:(BOOL)arg1 childNodes:(id)arg2 childNodes:(id)arg3 toDistanceFromRoot:(long long)arg4;
++ (id)_nodesByMergingSimilarNodes:(id)arg1;
++ (void)_shareSourceCodeStringsForNodes:(id)arg1;
+
+- (void)_absorbOnlyChildrenIntoParents;
+- (id)_treeByPushingOutPrefix:(id *)arg1 error:(id *)arg2;
+- (id)copy;
+- (id)_copyIncludingNodesWithDistanceFromRoot:(long long)arg1 passingTest:(CDUnknownBlockType)arg2;
+- (id)_copyIncludingNodesWithDistanceFromRoot:(unsigned long long)arg1 descendantChildrenArrays:(id)arg2 selectedChildNodeIndexes:(id)arg3;
+- (id)_copyIncludingNodesWithMinimumDistanceFromLeaf:(unsigned long long)arg1 descendantChildrenArrays:(id)arg2 selectedChildNodeIndexes:(id)arg3;
+- (BOOL)_canPushPutSolitaryRootNodes;
+- (unsigned long long)_distanceFromRoot;
+- (unsigned long long)_minimumDistanceFromLeaf;
+- (unsigned long long)_maximumDistanceFromLeaf;
+- (id)_stringRepresentationWithCompiledCodeRange:(struct _NSRange *)arg1 options:(unsigned long long)arg2 error:(id *)arg3;
+- (id)_stringRepresentationWithOptions:(unsigned long long)arg1 error:(id *)arg2;
+- (BOOL)_leavesHaveNoNonLeafSiblingsAndHaveSamePrefix:(id *)arg1 suffix:(id *)arg2;
+- (BOOL)_leavesHaveSameAccumulatedPrefix:(id *)arg1;
+- (id)stringRepresentationWithCompiledCodeRange:(struct _NSRange *)arg1 error:(id *)arg2;
+- (id)stringRepresentationWithError:(id *)arg1;
+- (id)initWithCoder:(id)arg1;
+- (void)encodeWithCoder:(id)arg1;
+- (id)_treeAsJSONWithError:(id *)arg1;
+- (id)descriptionWithDepth:(unsigned long long)arg1;
+- (id)_depthStringWithDepth:(unsigned long long)arg1;
+- (id)sourceCodeForAllDescendants;
+- (id)selectedDescendantsSourceCodeWithError:(id *)arg1;
+- (id)selectedChildNodesIndexesWithError:(id *)arg1;
+- (void)setChildrenOnAllLeafNodes:(id)arg1 selectChildNodeIndex:(unsigned long long)arg2;
+- (BOOL)_isContentEqual:(id)arg1 ignoringSelection:(BOOL)arg2 toDistanceFromRoot:(unsigned long long)arg3;
+- (unsigned long long)_descendantCount;
+- (BOOL)setChildNodes:(id)arg1 error:(id *)arg2;
+- (BOOL)_canHaveSiblingNode:(id)arg1;
+- (id)initWithSourceCodePrefix:(id)arg1 sourceCodeSuffix:(id)arg2;
+- (id)init;
+
+@end

+ 18 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCSourceCodeTreeNodeEnumerator.h

@@ -0,0 +1,18 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+@class NSMutableArray;
+
+@interface XCSourceCodeTreeNodeEnumerator : NSObject
+{
+    NSMutableArray *_remainingNodes;
+}
+
+- (id)nextObject;
+- (id)initWithNode:(id)arg1;
+
+@end
+

+ 29 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCSymbolicationRecord.h

@@ -0,0 +1,29 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+@class NSString;
+
+@interface XCSymbolicationRecord : NSObject
+{
+    unsigned long long _lineNumber;
+    NSString *_filePath;
+    NSString *_symbolName;
+    NSString *_symbolOwner;
+}
+@property(copy) NSString *symbolOwner; // @synthesize symbolOwner=_symbolOwner;
+@property(copy) NSString *symbolName; // @synthesize symbolName=_symbolName;
+@property(copy) NSString *filePath; // @synthesize filePath=_filePath;
+@property unsigned long long lineNumber; // @synthesize lineNumber=_lineNumber;
+
++ (id)symbolicationRecordFromRemoteServiceForAddress:(unsigned long long)arg1;
++ (id)symbolicationRecordForTask:(unsigned int)arg1 address:(unsigned long long)arg2;
++ (id)symbolicationRecordForAddress:(unsigned long long)arg1;
++ (void)_setCurrentProcessIsRemoteService;
++ (id)_symbolicationRecordForSymbolicator:(struct _CSTypeRef)arg1 address:(unsigned long long)arg2;
++ (id)failureRecord;
++ (BOOL)softLinkCoreSymbolication;
+
+@end

+ 14 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCSymbolicatorHolder.h

@@ -0,0 +1,14 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+@interface XCSymbolicatorHolder : NSObject
+{
+    struct _CSTypeRef _symbolicator;
+}
+
+@property struct _CSTypeRef symbolicator; // @synthesize symbolicator=_symbolicator;
+
+@end

+ 31 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCSynthesizedEventRecord.h

@@ -0,0 +1,31 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+@class NSArray, NSMutableArray, NSString, XCPointerEventPath;
+
+@interface XCSynthesizedEventRecord : NSObject <NSSecureCoding>
+{
+    NSMutableArray *_eventPaths;
+    NSString *_name;
+#if !TARGET_OS_TV
+    UIInterfaceOrientation _interfaceOrientation;
+#endif
+}
+#if !TARGET_OS_TV
+@property(readonly) UIInterfaceOrientation interfaceOrientation; // @synthesize interfaceOrientation=_interfaceOrientation;
+#endif
+@property(readonly, copy) NSString *name; // @synthesize name=_name;
+@property(readonly) double maximumOffset;
+@property(readonly) NSArray *eventPaths;
+
+- (void)addPointerEventPath:(XCPointerEventPath *)arg1;
+#if !TARGET_OS_TV
+- (id)initWithName:(NSString *)arg1 interfaceOrientation:(UIInterfaceOrientation)arg2;
+#endif
+- (id)init;
+- (BOOL)synthesizeWithError:(NSError **)arg1;
+
+@end

+ 14 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTAXClient-Protocol.h

@@ -0,0 +1,14 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import "NSObject.h"
+
+@class NSData;
+
+@protocol XCTAXClient <NSObject>
+- (void)handleAccessibilityNotification:(int)arg1 withPayload:(NSData *)arg2;
+@end
+

+ 16 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTAsyncActivity-Protocol.h

@@ -0,0 +1,16 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import "NSObject.h"
+
+@class NSError;
+
+@protocol XCTAsyncActivity <NSObject>
+@property(readonly) BOOL timedOut;
+@property(readonly) NSError *error;
+- (void)finishWithError:(NSError *)arg1;
+@end
+

+ 23 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTAsyncActivity.h

@@ -0,0 +1,23 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import <XCTest/XCTestExpectation.h>
+
+#import "XCTAsyncActivity.h"
+
+@class NSError, NSString;
+
+@interface XCTAsyncActivity : XCTestExpectation <XCTAsyncActivity>
+{
+    NSError *_error;
+    BOOL _timedOut;
+}
+@property BOOL timedOut; // @synthesize timedOut=_timedOut;
+@property(retain) NSError *error; // @synthesize error=_error;
+
+- (void)finishWithError:(id)arg1;
+
+@end

+ 12 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTAutomationTarget-Protocol.h

@@ -0,0 +1,12 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import "NSObject.h"
+
+@protocol XCTAutomationTarget <NSObject>
+- (void)requestHostAppExecutableNameWithReply:(void (^)(NSString *))arg1;
+@end
+

+ 23 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTDarwinNotificationExpectation.h

@@ -0,0 +1,23 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import <XCTest/XCTestExpectation.h>
+
+@class NSString, _XCTDarwinNotificationExpectationImplementation;
+
+@interface XCTDarwinNotificationExpectation : XCTestExpectation
+{
+    id _internal;
+}
+@property(retain) _XCTDarwinNotificationExpectationImplementation *internal; // @synthesize internal=_internal;
+@property(copy) CDUnknownBlockType handler;
+@property(readonly, copy) NSString *notificationName;
+
+- (void)cleanup;
+- (void)fulfill;
+- (id)initWithNotificationName:(id)arg1;
+
+@end

+ 18 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTElementSetTransformer-Protocol.h

@@ -0,0 +1,18 @@
+//
+//     Generated by class-dump 3.5 (64 bit) (Debug version compiled Jun  9 2015 22:53:21).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2014 by Steve Nygard.
+//
+
+@class NSOrderedSet, NSSet, NSString;
+@protocol XCTMatchingElementIterator;
+
+@protocol XCTElementSetTransformer <NSObject>
+@property BOOL stopsOnFirstMatch;
+@property(readonly) BOOL supportsAttributeKeyPathAnalysis;
+@property(copy) NSString *transformationDescription;
+@property(readonly) BOOL supportsRemoteEvaluation;
+- (NSSet *)requiredKeyPathsOrError:(id *)arg1;
+- (id <XCTMatchingElementIterator>)iteratorForInput:(id/*XCElementSnapshot*/)arg1;
+- (NSOrderedSet *)transform:(NSOrderedSet *)arg1 relatedElements:(id *)arg2;
+@end

+ 28 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTKVOExpectation.h

@@ -0,0 +1,28 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import <XCTest/XCTestExpectation.h>
+
+@class NSString, _XCKVOExpectationImplementation;
+
+@interface XCTKVOExpectation : XCTestExpectation
+{
+    id _internal;
+}
+@property(retain) _XCKVOExpectationImplementation *internal; // @synthesize internal=_internal;
+@property(copy) CDUnknownBlockType handler;
+@property(readonly) unsigned long long options;
+@property(readonly) id expectedValue;
+@property(readonly) id observedObject;
+@property(readonly, copy) NSString *keyPath;
+
+- (void)cleanup;
+- (void)fulfill;
+- (id)initWithKeyPath:(id)arg1 object:(id)arg2;
+- (id)initWithKeyPath:(id)arg1 object:(id)arg2 expectedValue:(id)arg3;
+- (id)initWithKeyPath:(id)arg1 object:(id)arg2 expectedValue:(id)arg3 options:(unsigned long long)arg4;
+
+@end

+ 29 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTMetric.h

@@ -0,0 +1,29 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import "NSObject.h"
+
+@class NSArray, NSDictionary, NSString;
+
+@interface XCTMetric : NSObject
+{
+    NSString *_identifier;
+    NSString *_name;
+    NSString *_units;
+    NSDictionary *_baseline;
+    NSDictionary *_defaultBaseline;
+    NSArray *_measurements;
+}
+@property(copy) NSArray *measurements; // @synthesize measurements=_measurements;
+@property(copy) NSDictionary *defaultBaseline; // @synthesize defaultBaseline=_defaultBaseline;
+@property(copy) NSDictionary *baseline; // @synthesize baseline=_baseline;
+@property(copy) NSString *units; // @synthesize units=_units;
+@property(copy) NSString *name; // @synthesize name=_name;
+@property(copy) NSString *identifier; // @synthesize identifier=_identifier;
+
+- (id)init;
+
+@end

+ 27 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTNSNotificationExpectation.h

@@ -0,0 +1,27 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import <XCTest/XCTestExpectation.h>
+
+@class NSNotificationCenter, NSString, _XCTNSNotificationExpectationImplementation;
+
+@interface XCTNSNotificationExpectation : XCTestExpectation
+{
+    id _internal;
+}
+@property(retain) _XCTNSNotificationExpectationImplementation *internal; // @synthesize internal=_internal;
+@property(copy) CDUnknownBlockType handler;
+@property(readonly) NSNotificationCenter *notificationCenter;
+@property(readonly, copy) NSString *notificationName;
+@property(readonly) id observedObject;
+
+- (void)cleanup;
+- (void)fulfill;
+- (id)initWithName:(id)arg1;
+- (id)initWithName:(id)arg1 object:(id)arg2;
+- (id)initWithName:(id)arg1 object:(id)arg2 notificationCenter:(id)arg3;
+
+@end

+ 24 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTNSPredicateExpectation.h

@@ -0,0 +1,24 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import <XCTest/XCTestExpectation.h>
+
+@class NSPredicate, _XCTNSPredicateExpectationImplementation;
+
+@interface XCTNSPredicateExpectation : XCTestExpectation
+{
+    id _internal;
+}
+@property(retain) _XCTNSPredicateExpectationImplementation *internal; // @synthesize internal=_internal;
+@property(copy) CDUnknownBlockType handler;
+@property(readonly, copy) NSPredicate *predicate;
+@property(readonly) id object;
+
+- (void)cleanup;
+- (void)fulfill;
+- (id)initWithPredicate:(id)arg1 object:(id)arg2;
+
+@end

+ 15 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTNSPredicateExpectationObject-Protocol.h

@@ -0,0 +1,15 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import "NSObject.h"
+
+@class XCTNSPredicateExpectation;
+
+@protocol XCTNSPredicateExpectationObject <NSObject>
+
+@optional
+- (BOOL)evaluatePredicateForExpectation:(XCTNSPredicateExpectation *)arg1 debugMessage:(id *)arg2;
+@end

+ 21 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTRunnerAutomationSession.h

@@ -0,0 +1,21 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import "NSObject.h"
+
+#import "XCTRunnerAutomationSession.h"
+
+@class NSString, NSXPCConnection;
+
+@interface XCTRunnerAutomationSession : NSObject <XCTRunnerAutomationSession>
+{
+    NSXPCConnection *_connection;
+}
+@property NSXPCConnection *connection; // @synthesize connection=_connection;
+
+- (id)initWithEndpoint:(id)arg1;
+
+@end

+ 90 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTRunnerDaemonSession.h

@@ -0,0 +1,90 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import "XCTestManager_TestsInterface-Protocol.h"
+#import "XCEventGenerator.h"
+#import <WebDriverAgentLib/CDStructures.h>
+#import <UIKit/UIKit.h>
+
+@class NSMutableDictionary, NSXPCConnection, XCSynthesizedEventRecord;
+#if !TARGET_OS_TV // tvOS does not provide relevant APIs
+@class CLLocation;
+#endif
+@protocol XCTUIApplicationMonitor, XCTAXClient, XCTestManager_ManagerInterface;
+
+// iOS since 10.3
+@interface XCTRunnerDaemonSession : NSObject <XCTestManager_TestsInterface>
+{
+    NSObject<OS_dispatch_queue> *_queue;
+    id <XCTUIApplicationMonitor> _applicationMonitor;
+    id <XCTAXClient> _accessibilityClient;
+    NSXPCConnection *_connection;
+    unsigned long long _daemonProtocolVersion;
+    NSMutableDictionary *_invalidationHandlers;
+}
+@property(retain) NSObject<OS_dispatch_queue> *queue; // @synthesize queue=_queue;
+@property id <XCTAXClient> accessibilityClient; // @synthesize accessibilityClient=_accessibilityClient;
+@property id <XCTUIApplicationMonitor> applicationMonitor; // @synthesize applicationMonitor=_applicationMonitor;
+@property(retain) NSMutableDictionary *invalidationHandlers; // @synthesize invalidationHandlers=_invalidationHandlers;
+@property(retain) NSXPCConnection *connection; // @synthesize connection=_connection;
+@property(readonly) BOOL useLegacyEventCoordinateTransformationPath;
+@property unsigned long long daemonProtocolVersion;
+@property(readonly) id <XCTestManager_ManagerInterface> daemonProxy;
+
++ (instancetype)sharedSession;
+
+- (void)injectVoiceRecognitionAudioInputPaths:(id)arg1 completion:(CDUnknownBlockType)arg2;
+- (void)injectAssistantRecognitionStrings:(id)arg1 completion:(CDUnknownBlockType)arg2;
+- (void)startSiriUIRequestWithAudioFileURL:(id)arg1 completion:(CDUnknownBlockType)arg2;
+- (void)startSiriUIRequestWithText:(id)arg1 completion:(CDUnknownBlockType)arg2;
+- (void)requestDTServiceHubConnectionWithReply:(CDUnknownBlockType)arg1;
+- (void)enableFauxCollectionViewCells:(CDUnknownBlockType)arg1;
+- (void)loadAccessibilityWithTimeout:(double)arg1 reply:(CDUnknownBlockType)arg2;
+- (void)setAXTimeout:(double)arg1 reply:(CDUnknownBlockType)arg2;
+- (void)requestScreenshotWithReply:(CDUnknownBlockType)arg1;
+- (void)sendString:(id)arg1 maximumFrequency:(unsigned long long)arg2 completion:(CDUnknownBlockType)arg3;
+- (void)updateDeviceOrientation:(long long)arg1 completion:(CDUnknownBlockType)arg2;
+- (void)performDeviceEvent:(id)arg1 completion:(CDUnknownBlockType)arg2;
+- (void)synthesizeEvent:(XCSynthesizedEventRecord *)arg1 completion:(void (^)(NSError *))arg2;
+- (void)requestElementAtPoint:(CGPoint)arg1 reply:(CDUnknownBlockType)arg2;
+- (void)fetchParameterizedAttributeForElement:(id)arg1 attribute:(id)arg2 parameter:(id)arg3 reply:(CDUnknownBlockType)arg4;
+- (void)setAttribute:(id)arg1 value:(id)arg2 element:(id)arg3 reply:(CDUnknownBlockType)arg4;
+- (void)fetchAttributesForElement:(id)arg1 attributes:(id)arg2 reply:(CDUnknownBlockType)arg3;
+- (void)snapshotForElement:(id)arg1 attributes:(id)arg2 parameters:(id)arg3 reply:(void (^)(id/*XCElementSnapshot*/, NSError *))arg4;
+- (void)terminateApplicationWithBundleID:(id)arg1 completion:(CDUnknownBlockType)arg2;
+- (void)performAccessibilityAction:(int)arg1 onElement:(id)arg2 value:(id)arg3 reply:(CDUnknownBlockType)arg4;
+- (void)unregisterForAccessibilityNotification:(int)arg1 registrationToken:(id)arg2 reply:(CDUnknownBlockType)arg3;
+- (void)registerForAccessibilityNotification:(int)arg1 reply:(CDUnknownBlockType)arg2;
+- (void)launchApplicationWithBundleID:(id)arg1 arguments:(id)arg2 environment:(id)arg3 completion:(CDUnknownBlockType)arg4;
+- (void)startMonitoringApplicationWithBundleID:(id)arg1;
+- (void)requestBackgroundAssertionForPID:(int)arg1 reply:(CDUnknownBlockType)arg2;
+- (void)requestAutomationSessionForTestTargetWithPID:(int)arg1 reply:(CDUnknownBlockType)arg2;
+- (void)requestIDEConnectionSocketForSessionIdentifier:(id)arg1 reply:(CDUnknownBlockType)arg2;
+- (void)_XCT_receivedAccessibilityNotification:(int)arg1 withPayload:(id)arg2;
+- (void)_XCT_applicationWithBundleID:(id)arg1 didUpdatePID:(int)arg2 andState:(unsigned long long)arg3;
+- (void)unregisterInvalidationHandlerWithToken:(id)arg1;
+- (id)registerInvalidationHandler:(CDUnknownBlockType)arg1;
+- (void)_reportInvalidation;
+- (id)initWithConnection:(id)arg1;
+
+// Since Xcode 14.3
+- (void)openURL:(NSURL *)arg1 usingApplication:(NSString *)arg2 completion:(void (^)(_Bool, NSError *))arg3;
+- (void)openDefaultApplicationForURL:(NSURL *)arg1 completion:(void (^)(_Bool, NSError *))arg2;
+#if !TARGET_OS_TV // tvOS does not provide relevant APIs
+- (void)setSimulatedLocation:(CLLocation *)arg1 completion:(void (^)(_Bool, NSError *))arg2;
+- (void)getSimulatedLocationWithReply:(void (^)(CLLocation *, NSError *))arg1;
+- (void)clearSimulatedLocationWithReply:(void (^)(_Bool, NSError *))arg1;
+@property(readonly) _Bool supportsLocationSimulation;
+#endif
+
+// Since Xcode 10.2
+- (void)launchApplicationWithPath:(NSString *)arg1
+                         bundleID:(NSString *)arg2
+                        arguments:(NSArray *)arg3
+                      environment:(NSDictionary *)arg4
+                       completion:(void (^)(_Bool, NSError *))arg5;
+
+@end

+ 65 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTRunnerIDESession.h

@@ -0,0 +1,65 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import "NSObject.h"
+
+#import "XCTTestRunSessionDelegate.h"
+#import "XCTestDriverInterface.h"
+#import "XCTestObservation.h"
+
+@class DTXConnection, NSObject<OS_dispatch_queue>, NSString, XCTestRun;
+
+@interface XCTRunnerIDESession : NSObject <XCTestObservation, XCTestDriverInterface, XCTTestRunSessionDelegate>
+{
+    NSObject<OS_dispatch_queue> *_queue;
+    DTXConnection *_IDEConnection;
+    id <XCTestManager_IDEInterface><NSObject> _IDEProxy;
+    long long _IDEProtocolVersion;
+    id <XCTUIApplicationMonitor> _applicationMonitor;
+    XCTestRun *_currentTestRun;
+    CDUnknownBlockType _readinessReply;
+}
+@property(copy) CDUnknownBlockType readinessReply; // @synthesize readinessReply=_readinessReply;
+@property(retain) id <XCTestManager_IDEInterface><NSObject> IDEProxy; // @synthesize IDEProxy=_IDEProxy;
+@property(retain) DTXConnection *IDEConnection; // @synthesize IDEConnection=_IDEConnection;
+@property __weak id <XCTUIApplicationMonitor> applicationMonitor; // @synthesize applicationMonitor=_applicationMonitor;
+@property(retain) NSObject<OS_dispatch_queue> *queue; // @synthesize queue=_queue;
+@property(readonly) BOOL reportsCrashes;
+@property long long IDEProtocolVersion; // @synthesize IDEProtocolVersion=_IDEProtocolVersion;
+
++ (int)connectedSocketForLocalPath:(id)arg1 error:(id *)arg2;
++ (void)setSharedSession:(id)arg1;
++ (id)sharedSession;
++ (id)sharedSessionQueue;
+
+- (void)testBundleDidFinish:(id)arg1;
+- (void)_testCase:(id)arg1 didFinishActivity:(id)arg2;
+- (void)_testCase:(id)arg1 willStartActivity:(id)arg2;
+- (void)_testCase:(id)arg1 didMeasureValues:(id)arg2 forPerformanceMetricID:(id)arg3 name:(id)arg4 unitsOfMeasurement:(id)arg5 baselineName:(id)arg6 baselineAverage:(id)arg7 maxPercentRegression:(id)arg8 maxPercentRelativeStandardDeviation:(id)arg9 maxRegression:(id)arg10 maxStandardDeviation:(id)arg11 file:(id)arg12 line:(unsigned long long)arg13;
+- (void)testCase:(id)arg1 didFailWithDescription:(id)arg2 inFile:(id)arg3 atLine:(unsigned long long)arg4;
+- (void)testCaseDidFinish:(id)arg1;
+- (void)testCaseWillStart:(id)arg1;
+- (void)testSuiteDidFinish:(id)arg1;
+- (void)testSuite:(id)arg1 didFailWithDescription:(id)arg2 inFile:(id)arg3 atLine:(unsigned long long)arg4;
+- (void)testSuiteWillStart:(id)arg1;
+- (void)testBundleWillStart:(id)arg1;
+- (id)_IDE_processWithToken:(id)arg1 exitedWithStatus:(id)arg2;
+- (id)_IDE_stopTrackingProcessWithToken:(id)arg1;
+- (void)terminateProcessWithToken:(id)arg1 completion:(CDUnknownBlockType)arg2;
+- (void)requestLaunchProgressForProcessWithToken:(id)arg1 completion:(CDUnknownBlockType)arg2;
+- (void)launchProcessWithPath:(id)arg1 bundleID:(id)arg2 arguments:(id)arg3 environmentVariables:(id)arg4 completion:(CDUnknownBlockType)arg5;
+- (id)_IDE_processWithBundleID:(id)arg1 path:(id)arg2 pid:(id)arg3 crashedUnderSymbol:(id)arg4;
+- (void)reportStallOnMainThreadInTestCase:(id)arg1 method:(id)arg2 file:(id)arg3 line:(unsigned long long)arg4;
+- (void)logDebugMessage:(id)arg1;
+- (void)testRunSessionDidFinishExecutingTestPlan:(id)arg1 reply:(CDUnknownBlockType)arg2;
+- (void)testRunSession:(id)arg1 initializationForUITestingDidFailWithError:(id)arg2;
+- (void)testRunSessionDidBeginInitializingForUITesting:(id)arg1;
+- (void)testRunSessionDidBeginExecutingTestPlan:(id)arg1;
+- (id)_IDE_startExecutingTestPlanWithProtocolVersion:(id)arg1;
+- (void)requestReadinessForTesting:(CDUnknownBlockType)arg1;
+- (id)initWithConnectedSocket:(int)arg1;
+
+@end

+ 25 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTTestRunSession.h

@@ -0,0 +1,25 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import "NSObject.h"
+
+@class XCTestConfiguration;
+
+@interface XCTTestRunSession : NSObject
+{
+    XCTestConfiguration *_testConfiguration;
+    id <XCTTestRunSessionDelegate> _delegate;
+}
+@property id <XCTTestRunSessionDelegate> delegate; // @synthesize delegate=_delegate;
+@property(retain) XCTestConfiguration *testConfiguration; // @synthesize testConfiguration=_testConfiguration;
+
+- (BOOL)runTestsAndReturnError:(id *)arg1;
+- (BOOL)_preTestingInitialization;
+- (void)resumeAppSleep:(id)arg1;
+- (id)suspendAppSleep;
+- (id)initWithTestConfiguration:(id)arg1 delegate:(id)arg2;
+
+@end

+ 17 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTTestRunSessionDelegate-Protocol.h

@@ -0,0 +1,17 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import "NSObject.h"
+
+@class NSError, XCTTestRunSession;
+
+@protocol XCTTestRunSessionDelegate <NSObject>
+- (void)testRunSessionDidFinishExecutingTestPlan:(XCTTestRunSession *)arg1 reply:(void (^)(void))arg2;
+- (void)testRunSession:(XCTTestRunSession *)arg1 initializationForUITestingDidFailWithError:(NSError *)arg2;
+- (void)testRunSessionDidBeginInitializingForUITesting:(XCTTestRunSession *)arg1;
+- (void)testRunSessionDidBeginExecutingTestPlan:(XCTTestRunSession *)arg1;
+@end
+

+ 17 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTUIApplicationMonitor-Protocol.h

@@ -0,0 +1,17 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import "NSObject.h"
+
+@class NSNumber, NSString;
+
+@protocol XCTUIApplicationMonitor <NSObject>
+- (void)applicationWithBundleID:(NSString *)arg1 didUpdatePID:(int)arg2 state:(unsigned long long)arg3;
+- (void)processWithToken:(NSNumber *)arg1 exitedWithStatus:(int)arg2;
+- (void)stopTrackingProcessWithToken:(NSNumber *)arg1;
+- (void)crashInProcessWithBundleID:(NSString *)arg1 path:(NSString *)arg2 pid:(int)arg3 symbol:(NSString *)arg4;
+@end
+

+ 55 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTWaiter.h

@@ -0,0 +1,55 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import "NSObject.h"
+
+#import "XCTWaiterManagement.h"
+#import "XCTestExpectationDelegate.h"
+
+@class NSArray, NSObject<OS_dispatch_queue>, NSString, _XCTWaiterImpl;
+
+@interface XCTWaiter : NSObject <XCTestExpectationDelegate, XCTWaiterManagement>
+{
+    id _internalImplementation;
+}
+@property(readonly) _XCTWaiterImpl *internalImplementation; // @synthesize internalImplementation=_internalImplementation;
+@property(readonly) double timeout;
+@property(readonly, getter=isInProgress) BOOL inProgress;
+@property struct __CFRunLoop *waitingRunLoop;
+@property(readonly, nonatomic) NSObject<OS_dispatch_queue> *delegateQueue;
+@property(readonly, nonatomic) NSObject<OS_dispatch_queue> *queue;
+@property(readonly, copy) NSArray *waitCallStackReturnAddresses;
+@property(readonly) NSArray *fulfilledExpectations;
+@property __weak id <XCTWaiterDelegate> delegate;
+
++ (id)waitForActivity:(id)arg1 timeout:(double)arg2 block:(CDUnknownBlockType)arg3;
++ (long long)waitForExpectations:(id)arg1 timeout:(double)arg2 enforceOrder:(BOOL)arg3;
++ (long long)waitForExpectations:(id)arg1 timeout:(double)arg2;
++ (void)wait:(double)arg1;
++ (void)setStallHandler:(CDUnknownBlockType)arg1;
++ (void)handleStalledWaiter:(id)arg1;
++ (CDUnknownBlockType)installWatchdogForWaiter:(id)arg1 timeout:(double)arg2;
+
+- (long long)result;
+- (void)setState:(long long)arg1;
+- (long long)state;
+- (void)setWaitCallStackReturnAddresses:(id)arg1;
+- (void)_queue_validateExpectationFulfillmentWithTimeoutState:(BOOL)arg1;
+- (BOOL)_queue_enforceOrderingWithFulfilledExpectations:(id)arg1;
+- (void)_queue_computeInitiallyFulfilledExpectations;
+- (void)_queue_setExpectations:(id)arg1;
+- (void)_validateExpectationFulfillmentWithTimeoutState:(BOOL)arg1;
+- (void)didFulfillExpectation:(id)arg1;
+- (void)cancelPrimitiveWait;
+- (void)cancelWaiting;
+- (void)primitiveWait:(double)arg1;
+- (void)interruptForWaiter:(id)arg1;
+- (long long)waitForExpectations:(id)arg1 timeout:(double)arg2 enforceOrder:(BOOL)arg3;
+- (long long)waitForExpectations:(id)arg1 timeout:(double)arg2;
+- (id)initWithDelegate:(id)arg1;
+- (id)init;
+
+@end

+ 16 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTWaiterDelegate-Protocol.h

@@ -0,0 +1,16 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import "NSObject.h"
+
+@class NSArray, XCTWaiter, XCTestExpectation;
+
+@protocol XCTWaiterDelegate <NSObject>
+- (void)waiter:(XCTWaiter *)arg1 didFulfillInvertedExpectation:(XCTestExpectation *)arg2;
+- (void)waiter:(XCTWaiter *)arg1 fulfillmentDidViolateOrderingConstraintsForExpectation:(XCTestExpectation *)arg2 requiredExpectation:(XCTestExpectation *)arg3;
+- (void)waiter:(XCTWaiter *)arg1 didTimeoutWithUnfulfilledExpectations:(NSArray *)arg2;
+@end
+

+ 12 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTWaiterDelegatePrivate-Protocol.h

@@ -0,0 +1,12 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+@class XCTWaiter;
+
+@protocol XCTWaiterDelegatePrivate
+- (void)nestedWaiter:(XCTWaiter *)arg1 wasInterruptedByTimedOutWaiter:(XCTWaiter *)arg2;
+@end
+

+ 13 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTWaiterManagement-Protocol.h

@@ -0,0 +1,13 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import "NSObject.h"
+
+@protocol XCTWaiterManagement <NSObject>
+@property(readonly, getter=isInProgress) BOOL inProgress;
+- (void)interruptForWaiter:(id <XCTWaiterManagement>)arg1;
+@end
+

+ 28 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTWaiterManager.h

@@ -0,0 +1,28 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import "NSObject.h"
+
+@class NSMutableArray, NSObject<OS_dispatch_queue>, NSThread;
+
+@interface XCTWaiterManager : NSObject
+{
+    NSMutableArray *_waiterStack;
+    NSThread *_thread;
+    NSObject<OS_dispatch_queue> *_queue;
+}
+@property(readonly) NSObject<OS_dispatch_queue> *queue; // @synthesize queue=_queue;
+@property NSThread *thread; // @synthesize thread=_thread;
+@property(retain) NSMutableArray *waiterStack; // @synthesize waiterStack=_waiterStack;
+
++ (id)threadLocalManager;
+
+- (void)waiterDidFinishWaiting:(id)arg1;
+- (void)waiterTimedOutWhileWaiting:(id)arg1;
+- (void)waiterWillBeginWaiting:(id)arg1;
+- (id)init;
+
+@end

+ 34 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTest.h

@@ -0,0 +1,34 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+@class NSString, XCTestRun;
+
+@interface XCTest : NSObject
+{
+    id _internal;
+}
+@property(readonly) NSString *nameForLegacyLogging;
+@property(readonly) NSString *languageAgnosticTestMethodName;
+@property(readonly) NSString *languageAgnosticTestClassName;
+@property(readonly) XCTestRun *testRun;
+@property(readonly) Class testRunClass;
+@property(readonly) Class _requiredTestRunBaseClass;
+@property(readonly, copy) NSString *name;
+@property(readonly) unsigned long long testCaseCount;
+@property(readonly) NSString *_methodNameForReporting;
+@property(readonly) NSString *_classNameForReporting;
+
++ (id)languageAgnosticTestClassNameForTestClass:(Class)arg1;
+
+- (void)tearDown;
+- (void)setUp;
+- (void)runTest;
+- (id)run;
+- (void)performTest:(id)arg1;
+- (id)init;
+- (void)removeTestsWithNames:(id)arg1;
+
+@end

+ 102 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTestCase.h

@@ -0,0 +1,102 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import <XCTest/XCTest.h>
+
+#import <WebDriverAgentLib/CDStructures.h>
+
+@class NSInvocation, XCTestCaseRun, XCTestContext, _XCTestCaseImplementation;
+
+@interface XCTestCase()
+{
+    id _internalImplementation;
+}
+@property(retain) _XCTestCaseImplementation *internalImplementation; // @synthesize internalImplementation=_internalImplementation;
+@property(readonly) XCTestContext *testContext;
+@property(readonly) unsigned long long activityRecordStackDepth;
+@property(nonatomic) BOOL shouldHaltWhenReceivesControl;
+@property(nonatomic) BOOL shouldSetShouldHaltWhenReceivesControl; // @synthesize shouldSetShouldHaltWhenReceivesControl=_shouldSetShouldHaltWhenReceivesControl;
+@property(retain) XCTestCaseRun *testCaseRun;
+
++ (id)_baselineDictionary;
++ (BOOL)_treatMissingBaselinesAsTestFailures;
++ (id)knownMemoryMetrics;
++ (id)measurementFormatter;
++ (BOOL)_reportPerformanceFailuresForLargeImprovements;
++ (BOOL)_enableSymbolication;
+
++ (BOOL)isInheritingTestCases;
++ (id)_testStartActvityDateFormatter;
++ (id)testCaseWithSelector:(SEL)arg1;
+
+
++ (void)tearDown;
++ (void)setUp;
++ (id)defaultTestSuite;
++ (id)allTestMethodInvocations;
++ (void)_allTestMethodInvocations:(id)arg1;
++ (id)testMethodInvocations;
++ (id)allSubclasses;
+- (void)startActivityWithTitle:(id)arg1 block:(CDUnknownBlockType)arg2;
+- (void)registerDefaultMetrics;
+- (id)baselinesDictionaryForTest;
+- (void)_logAndReportPerformanceMetrics:(id)arg1 perfMetricResultsForIDs:(id)arg2 withBaselinesForTest:(id)arg3;
+- (void)_logAndReportPerformanceMetrics:(id)arg1 perfMetricResultsForIDs:(id)arg2 withBaselinesForTest:(id)arg3 defaultBaselinesForPerfMetricID:(id)arg4;
+- (void)registerMetricID:(id)arg1 name:(id)arg2 unitString:(id)arg3;
+- (void)registerMetricID:(id)arg1 name:(id)arg2 unit:(id)arg3;
+- (void)reportMetric:(id)arg1 reportFailures:(BOOL)arg2;
+- (void)reportMeasurements:(id)arg1 forMetricID:(id)arg2 reportFailures:(BOOL)arg3;
+- (void)_recordValues:(id)arg1 forPerformanceMetricID:(id)arg2 name:(id)arg3 unitsOfMeasurement:(id)arg4 baselineName:(id)arg5 baselineAverage:(id)arg6 maxPercentRegression:(id)arg7 maxPercentRelativeStandardDeviation:(id)arg8 maxRegression:(id)arg9 maxStandardDeviation:(id)arg10 file:(id)arg11 line:(unsigned long long)arg12;
+- (id)_symbolicationRecordForTestCodeInAddressStack:(id)arg1;
+- (void)stopMeasuring;
+- (void)startMeasuring;
+- (BOOL)_isMeasuringMetrics;
+- (BOOL)_didStopMeasuring;
+- (BOOL)_didStartMeasuring;
+- (BOOL)_didMeasureMetrics;
+- (id)_perfMetricsForID;
+- (void)_logMemoryGraphDataFromFilePath:(id)arg1 withTitle:(id)arg2;
+- (void)_logMemoryGraphData:(id)arg1 withTitle:(id)arg2;
+- (unsigned long long)numberOfTestIterationsForTestWithSelector:(SEL)arg1;
+- (void)afterTestIteration:(unsigned long long)arg1 selector:(SEL)arg2;
+- (void)beforeTestIteration:(unsigned long long)arg1 selector:(SEL)arg2;
+- (void)tearDownTestWithSelector:(SEL)arg1;
+- (void)setUpTestWithSelector:(SEL)arg1;
+- (void)performTest:(id)arg1;
+- (void)invokeTest;
+- (Class)testRunClass;
+- (Class)_requiredTestRunBaseClass;
+- (void)_recordUnexpectedFailureWithDescription:(id)arg1 error:(id)arg2;
+- (void)_recordUnexpectedFailureWithDescription:(id)arg1 exception:(id)arg2;
+// Exists since Xcode 9.4.1, at least
+- (void)recordFailureWithDescription:(NSString *)arg1 inFile:(NSString *)arg2 atLine:(NSUInteger)arg3 expected:(BOOL)arg4;
+- (void)_enqueueFailureWithDescription:(NSString *)description inFile:(NSString *)filePath atLine:(NSUInteger)lineNumber expected:(BOOL)expected;
+- (void)_dequeueFailures;
+- (void)_interruptTest;
+- (BOOL)isEqual:(id)arg1;
+- (id)nameForLegacyLogging;
+- (id)name;
+- (id)languageAgnosticTestMethodName;
+- (unsigned long long)testCaseCount;
+- (id)initWithSelector:(SEL)arg1;
+- (id)init;
+- (void)waiter:(id)arg1 didFulfillInvertedExpectation:(id)arg2;
+- (void)waiter:(id)arg1 fulfillmentDidViolateOrderingConstraintsForExpectation:(id)arg2 requiredExpectation:(id)arg3;
+- (void)waiter:(id)arg1 didTimeoutWithUnfulfilledExpectations:(id)arg2;
+- (id)expectationForPredicate:(id)arg1 evaluatedWithObject:(id)arg2 handler:(CDUnknownBlockType)arg3;
+- (id)expectationForNotification:(id)arg1 object:(id)arg2 handler:(CDUnknownBlockType)arg3;
+- (id)keyValueObservingExpectationForObject:(id)arg1 keyPath:(id)arg2 handler:(CDUnknownBlockType)arg3;
+- (id)keyValueObservingExpectationForObject:(id)arg1 keyPath:(id)arg2 expectedValue:(id)arg3;
+- (void)_addExpectation:(id)arg1;
+- (void)waitForExpectations:(id)arg1 timeout:(double)arg2 enforceOrder:(BOOL)arg3;
+- (void)waitForExpectations:(id)arg1 timeout:(double)arg2;
+- (void)waitForExpectationsWithTimeout:(double)arg1 handler:(CDUnknownBlockType)arg2;
+- (void)_waitForExpectations:(id)arg1 timeout:(double)arg2 enforceOrder:(BOOL)arg3 handler:(CDUnknownBlockType)arg4;
+- (id)expectationWithDescription:(id)arg1;
+- (id)_expectationForDarwinNotification:(id)arg1;
+- (void)nestedWaiter:(id)arg1 wasInterruptedByTimedOutWaiter:(id)arg2;
+
+@end

+ 18 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTestCaseRun.h

@@ -0,0 +1,18 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import <XCTest/XCTestRun.h>
+
+@interface XCTestCaseRun : XCTestRun
+{
+}
+
+- (void)_recordValues:(id)arg1 forPerformanceMetricID:(id)arg2 name:(id)arg3 unitsOfMeasurement:(id)arg4 baselineName:(id)arg5 baselineAverage:(id)arg6 maxPercentRegression:(id)arg7 maxPercentRelativeStandardDeviation:(id)arg8 maxRegression:(id)arg9 maxStandardDeviation:(id)arg10 file:(id)arg11 line:(unsigned long long)arg12;
+- (void)recordFailureInTest:(id)arg1 withDescription:(id)arg2 inFile:(id)arg3 atLine:(unsigned long long)arg4 expected:(BOOL)arg5;
+- (void)stop;
+- (void)start;
+
+@end

+ 19 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTestCaseSuite.h

@@ -0,0 +1,19 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import <XCTest/XCTestSuite.h>
+
+@interface XCTestCaseSuite : XCTestSuite
+{
+    Class _testCaseClass;
+}
+
++ (id)emptyTestSuiteForTestCaseClass:(Class)arg1;
+- (void)tearDown;
+- (void)setUp;
+- (id)initWithTestCaseClass:(Class)arg1;
+
+@end

+ 66 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTestConfiguration.h

@@ -0,0 +1,66 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+@class NSSet, NSString, NSURL, NSUUID;
+
+@interface XCTestConfiguration : NSObject <NSSecureCoding>
+{
+    NSURL *_testBundleURL;
+    NSString *_testBundleRelativePath;
+    NSString *_absolutePath;
+    NSSet *_testsToSkip;
+    NSSet *_testsToRun;
+    BOOL _reportResultsToIDE;
+    NSUUID *_sessionIdentifier;
+    NSString *_pathToXcodeReportingSocket;
+    BOOL _disablePerformanceMetrics;
+    BOOL _treatMissingBaselinesAsFailures;
+    NSURL *_baselineFileURL;
+    NSString *_baselineFileRelativePath;
+    NSString *_targetApplicationPath;
+    NSString *_targetApplicationBundleID;
+    NSString *_productModuleName;
+    BOOL _reportActivities;
+    BOOL _testsMustRunOnMainThread;
+    BOOL _initializeForUITesting;
+    NSArray *_targetApplicationArguments;
+    NSDictionary *_targetApplicationEnvironment;
+    NSDictionary *_aggregateStatisticsBeforeCrash;
+    NSString *_automationFrameworkPath;
+    BOOL _emitOSLogs;
+}
+@property BOOL emitOSLogs; // @synthesize emitOSLogs=_emitOSLogs;
+@property(copy) NSString *automationFrameworkPath; // @synthesize automationFrameworkPath=_automationFrameworkPath;
+@property(copy) NSDictionary *aggregateStatisticsBeforeCrash; // @synthesize aggregateStatisticsBeforeCrash=_aggregateStatisticsBeforeCrash;
+@property(copy) NSArray *targetApplicationArguments; // @synthesize targetApplicationArguments=_targetApplicationArguments;
+@property(copy) NSDictionary *targetApplicationEnvironment; // @synthesize targetApplicationEnvironment=_targetApplicationEnvironment;
+@property BOOL initializeForUITesting; // @synthesize initializeForUITesting=_initializeForUITesting;
+@property BOOL testsMustRunOnMainThread; // @synthesize testsMustRunOnMainThread=_testsMustRunOnMainThread;
+@property BOOL reportActivities; // @synthesize reportActivities=_reportActivities;
+@property(copy) NSString *productModuleName; // @synthesize productModuleName=_productModuleName;
+@property(copy) NSString *targetApplicationBundleID; // @synthesize targetApplicationBundleID=_targetApplicationBundleID;
+@property(copy) NSString *targetApplicationPath; // @synthesize targetApplicationPath=_targetApplicationPath;
+@property BOOL treatMissingBaselinesAsFailures; // @synthesize treatMissingBaselinesAsFailures=_treatMissingBaselinesAsFailures;
+@property BOOL disablePerformanceMetrics; // @synthesize disablePerformanceMetrics=_disablePerformanceMetrics;
+@property BOOL reportResultsToIDE; // @synthesize reportResultsToIDE=_reportResultsToIDE;
+@property(copy, nonatomic) NSURL *baselineFileURL; // @synthesize baselineFileURL=_baselineFileURL;
+@property(copy) NSString *baselineFileRelativePath; // @synthesize baselineFileRelativePath=_baselineFileRelativePath;
+@property(copy) NSString *pathToXcodeReportingSocket; // @synthesize pathToXcodeReportingSocket=_pathToXcodeReportingSocket;
+@property(copy) NSUUID *sessionIdentifier; // @synthesize sessionIdentifier=_sessionIdentifier;
+@property(copy) NSSet *testsToSkip; // @synthesize testsToSkip=_testsToSkip;
+@property(copy) NSSet *testsToRun; // @synthesize testsToRun=_testsToRun;
+@property(copy, nonatomic) NSURL *testBundleURL; // @synthesize testBundleURL=_testBundleURL;
+@property(copy) NSString *testBundleRelativePath; // @synthesize testBundleRelativePath=_testBundleRelativePath;
+@property(copy) NSString *absolutePath; // @synthesize absolutePath=_absolutePath;
+
++ (id)configurationWithContentsOfFile:(id)arg1;
++ (id)activeTestConfiguration;
++ (void)setActiveTestConfiguration:(id)arg1;
+
+- (BOOL)writeToFile:(id)arg1;
+- (id)init;
+
+@end

+ 26 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTestContext.h

@@ -0,0 +1,26 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+@class NSArray, XCTestContextScope;
+
+@interface XCTestContext : NSObject
+{
+    BOOL _didHandleUIInterruption;
+    XCTestContextScope *_currentScope;
+}
+@property BOOL didHandleUIInterruption; // @synthesize didHandleUIInterruption=_didHandleUIInterruption;
+@property(retain, nonatomic) XCTestContextScope *currentScope; // @synthesize currentScope=_currentScope;
+@property(readonly, copy) NSArray *handlers;
+
++ (CDUnknownBlockType)defaultAsynchronousUIElementHandler;
+
+- (BOOL)handleAsynchronousUIElement:(id)arg1;
+- (void)removeUIInterruptionMonitor:(id)arg1;
+- (id)addUIInterruptionMonitorWithDescription:(id)arg1 handler:(CDUnknownBlockType)arg2;
+- (void)performInScope:(CDUnknownBlockType)arg1;
+- (id)init;
+
+@end

+ 19 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTestContextScope.h

@@ -0,0 +1,19 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+@class NSMutableArray;
+
+@interface XCTestContextScope : NSObject
+{
+    XCTestContextScope *_parentScope;
+    NSMutableArray *_handlers;
+}
+@property(copy) NSMutableArray *handlers; // @synthesize handlers=_handlers;
+@property(readonly) XCTestContextScope *parentScope; // @synthesize parentScope=_parentScope;
+
+- (id)initWithParentScope:(id)arg1;
+
+@end

+ 38 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTestDriver.h

@@ -0,0 +1,38 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import <WebDriverAgentLib/CDStructures.h>
+
+#import "XCDebugLogDelegate-Protocol.h"
+#import "XCTestDriverInterface-Protocol.h"
+#import "XCTestManager_TestsInterface-Protocol.h"
+#import "XCTestManager_IDEInterface-Protocol.h"
+#import "XCTestManager_ManagerInterface-Protocol.h"
+
+@class DTXConnection, NSMutableArray, NSString, NSUUID, NSXPCConnection, XCTestConfiguration, XCTestSuite;
+
+@interface XCTestDriver : NSObject <XCTestManager_TestsInterface, XCTestDriverInterface, XCDebugLogDelegate>
+{
+    XCTestConfiguration *_testConfiguration;
+    NSObject<OS_dispatch_queue> *_queue;
+    NSMutableArray *_debugMessageBuffer;
+    int _debugMessageBufferOverflow;
+}
+@property int debugMessageBufferOverflow; // @synthesize debugMessageBufferOverflow=_debugMessageBufferOverflow;
+@property(retain) NSMutableArray *debugMessageBuffer; // @synthesize debugMessageBuffer=_debugMessageBuffer;
+@property(retain) NSObject<OS_dispatch_queue> *queue; // @synthesize queue=_queue;
+@property(readonly) XCTestConfiguration *testConfiguration; // @synthesize testConfiguration=_testConfiguration;
+
+- (void)runTestConfiguration:(id)arg1 completionHandler:(CDUnknownBlockType)arg2;
+- (void)runTestSuite:(id)arg1 completionHandler:(CDUnknownBlockType)arg2;
+- (void)reportStallOnMainThreadInTestCase:(id)arg1 method:(id)arg2 file:(id)arg3 line:(unsigned long long)arg4;
+- (BOOL)runTestsAndReturnError:(id *)arg1;
+- (id)_readyIDESession:(id *)arg1;
+- (int)_connectedSocketForIDESession:(id *)arg1;
+- (void)logDebugMessage:(id)arg1;
+- (id)initWithTestConfiguration:(id)arg1;
+
+@end

+ 14 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTestDriverInterface-Protocol.h

@@ -0,0 +1,14 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+@class NSNumber;
+
+@protocol XCTestDriverInterface
+- (id)_IDE_processWithToken:(NSNumber *)arg1 exitedWithStatus:(NSNumber *)arg2;
+- (id)_IDE_stopTrackingProcessWithToken:(NSNumber *)arg1;
+- (id)_IDE_processWithBundleID:(NSString *)arg1 path:(NSString *)arg2 pid:(NSNumber *)arg3 crashedUnderSymbol:(NSString *)arg4;
+- (id)_IDE_startExecutingTestPlanWithProtocolVersion:(NSNumber *)arg1;
+@end

+ 39 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTestExpectation.h

@@ -0,0 +1,39 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+
+
+@class _XCTestExpectationImplementation;
+
+@interface XCTestExpectation : NSObject
+{
+    id _internalImplementation;
+}
+@property BOOL hasBeenWaitedOn;
+@property id <XCTestExpectationDelegate> delegate;
+@property(readonly, copy) NSArray *fulfillCallStackReturnAddresses;
+@property(readonly) BOOL fulfilled;
+@property BOOL hasInverseBehavior;
+@property(getter=isInverted) BOOL inverted;
+@property(nonatomic) BOOL assertForOverFulfill;
+@property(nonatomic) unsigned long long expectedFulfillmentCount;
+@property(nonatomic) unsigned long long fulfillmentCount;
+@property(readonly) unsigned long long fulfillmentToken;
+@property(readonly) _XCTestExpectationImplementation *internalImplementation; // @synthesize internalImplementation=_internalImplementation;
+@property(copy) NSString *expectationDescription;
+@property(readonly, nonatomic) NSObject<OS_dispatch_queue> *delegateQueue;
+@property(readonly, nonatomic) NSObject<OS_dispatch_queue> *queue;
+
++ (id)expectationWithDescription:(id)arg1;
+
+- (void)cleanup;
+- (void)_queue_fulfillWithCallStackReturnAddresses:(id)arg1;
+- (void)fulfill;
+
+- (id)initWithDescription:(id)arg1;
+- (id)init;
+
+@end

+ 14 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTestExpectationDelegate-Protocol.h

@@ -0,0 +1,14 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import "NSObject.h"
+
+@class XCTestExpectation;
+
+@protocol XCTestExpectationDelegate <NSObject>
+- (void)didFulfillExpectation:(XCTestExpectation *)arg1;
+@end
+

+ 17 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTestExpectationWaiter.h

@@ -0,0 +1,17 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import <XCTest/XCTWaiter.h>
+
+@interface XCTestExpectationWaiter : XCTWaiter
+{
+}
+
+- (long long)wait:(double)arg1 forExpectations:(id)arg2 enforceOrder:(BOOL)arg3;
+- (long long)wait:(double)arg1 forExpectations:(id)arg2;
+
+@end
+

+ 32 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTestLog.h

@@ -0,0 +1,32 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import <XCTest/XCTestObserver.h>
+
+#import "XCTestObservation.h"
+
+@class NSFileHandle, NSString;
+
+@interface XCTestLog : XCTestObserver <XCTestObservation>
+{
+}
+@property(readonly) NSFileHandle *logFileHandle;
+
++ (id)_messageForTest:(id)arg1 didMeasureValues:(id)arg2 forPerformanceMetricID:(id)arg3 name:(id)arg4 unitsOfMeasurement:(id)arg5 baselineName:(id)arg6 baselineAverage:(id)arg7 maxPercentRegression:(id)arg8 maxPercentRelativeStandardDeviation:(id)arg9 maxRegression:(id)arg10 maxStandardDeviation:(id)arg11 file:(id)arg12 line:(unsigned long long)arg13;
+
+- (void)testCaseDidFail:(id)arg1 withDescription:(id)arg2 inFile:(id)arg3 atLine:(unsigned long long)arg4;
+- (void)_testCase:(id)arg1 didMeasureValues:(id)arg2 forPerformanceMetricID:(id)arg3 name:(id)arg4 unitsOfMeasurement:(id)arg5 baselineName:(id)arg6 baselineAverage:(id)arg7 maxPercentRegression:(id)arg8 maxPercentRelativeStandardDeviation:(id)arg9 maxRegression:(id)arg10 maxStandardDeviation:(id)arg11 file:(id)arg12 line:(unsigned long long)arg13;
+- (void)testCaseDidStop:(id)arg1;
+- (void)testCaseDidStart:(id)arg1;
+- (void)testSuiteDidFail:(id)arg1 withDescription:(id)arg2 inFile:(id)arg3 atLine:(unsigned long long)arg4;
+- (void)testSuiteDidStop:(id)arg1;
+- (void)testSuiteDidStart:(id)arg1;
+- (void)_testDidFail:(id)arg1 withDescription:(id)arg2 inFile:(id)arg3 atLine:(unsigned long long)arg4;
+- (void)testLogWithFormat:(id)arg1 arguments:(char *)arg2;
+- (void)testLogWithFormat:(id)arg1;
+- (id)dateFormatter;
+
+@end

+ 36 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTestManager_IDEInterface-Protocol.h

@@ -0,0 +1,36 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+@class NSArray, NSDictionary, NSNumber, NSString, XCActivityRecord;
+
+@protocol XCTestManager_IDEInterface
+- (id)_XCT_handleCrashReportData:(NSData *)arg1 fromFileWithName:(NSString *)arg2;
+- (id)_XCT_nativeFocusItemDidChangeAtTime:(NSNumber *)arg1 parameterSnapshot:(id/*XCElementSnapshot*/)arg2 applicationSnapshot:(id/*XCElementSnapshot*/)arg3;
+- (id)_XCT_recordedEventNames:(NSArray *)arg1 timestamp:(NSNumber *)arg2 duration:(NSNumber *)arg3 startLocation:(NSDictionary *)arg4 startElementSnapshot:(id/*XCElementSnapshot*/)arg5 startApplicationSnapshot:(id/*XCElementSnapshot*/)arg6 endLocation:(NSDictionary *)arg7 endElementSnapshot:(id/*XCElementSnapshot*/)arg8 endApplicationSnapshot:(id/*XCElementSnapshot*/)arg9;
+- (id)_XCT_testCase:(NSString *)arg1 method:(NSString *)arg2 didFinishActivity:(XCActivityRecord *)arg3;
+- (id)_XCT_testCase:(NSString *)arg1 method:(NSString *)arg2 willStartActivity:(XCActivityRecord *)arg3;
+- (id)_XCT_recordedOrientationChange:(NSString *)arg1;
+- (id)_XCT_recordedFirstResponderChangedWithApplicationSnapshot:(id/*XCElementSnapshot*/)arg1;
+- (id)_XCT_exchangeCurrentProtocolVersion:(NSNumber *)arg1 minimumVersion:(NSNumber *)arg2;
+- (id)_XCT_recordedKeyEventsWithApplicationSnapshot:(id/*XCElementSnapshot*/)arg1 characters:(NSString *)arg2 charactersIgnoringModifiers:(NSString *)arg3 modifierFlags:(NSNumber *)arg4;
+- (id)_XCT_logDebugMessage:(NSString *)arg1;
+- (id)_XCT_logMessage:(NSString *)arg1;
+- (id)_XCT_testMethod:(NSString *)arg1 ofClass:(NSString *)arg2 didMeasureMetric:(NSDictionary *)arg3 file:(NSString *)arg4 line:(NSNumber *)arg5;
+- (id)_XCT_testCase:(NSString *)arg1 method:(NSString *)arg2 didStallOnMainThreadInFile:(NSString *)arg3 line:(NSNumber *)arg4;
+- (id)_XCT_testCaseDidFinishForTestClass:(NSString *)arg1 method:(NSString *)arg2 withStatus:(NSString *)arg3 duration:(NSNumber *)arg4;
+- (id)_XCT_testCaseDidFailForTestClass:(NSString *)arg1 method:(NSString *)arg2 withMessage:(NSString *)arg3 file:(NSString *)arg4 line:(NSNumber *)arg5;
+- (id)_XCT_testCaseDidStartForTestClass:(NSString *)arg1 method:(NSString *)arg2;
+- (id)_XCT_testSuite:(NSString *)arg1 didFinishAt:(NSString *)arg2 runCount:(NSNumber *)arg3 withFailures:(NSNumber *)arg4 unexpected:(NSNumber *)arg5 testDuration:(NSNumber *)arg6 totalDuration:(NSNumber *)arg7;
+- (id)_XCT_testSuite:(NSString *)arg1 didStartAt:(NSString *)arg2;
+- (id)_XCT_initializationForUITestingDidFailWithError:(NSError *)arg1;
+- (id)_XCT_didBeginInitializingForUITesting;
+- (id)_XCT_didFinishExecutingTestPlan;
+- (id)_XCT_didBeginExecutingTestPlan;
+- (id)_XCT_testBundleReadyWithProtocolVersion:(NSNumber *)arg1 minimumVersion:(NSNumber *)arg2;
+- (id)_XCT_getProgressForLaunch:(id)arg1;
+- (id)_XCT_terminateProcess:(id)arg1;
+- (id)_XCT_launchProcessWithPath:(NSString *)arg1 bundleID:(NSString *)arg2 arguments:(NSArray *)arg3 environmentVariables:(NSDictionary *)arg4;
+@end

+ 53 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTestManager_ManagerInterface-Protocol.h

@@ -0,0 +1,53 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import <UIKit/UIKit.h>
+
+@class NSArray, NSDictionary, NSNumber, NSString, NSUUID, XCSynthesizedEventRecord, XCTouchGesture, NSXPCListenerEndpoint;
+
+@protocol XCTestManager_ManagerInterface
+// since Xcode9
+- (void)_XCT_requestBundleIDForPID:(int)arg1 reply:(void (^)(NSString *, NSError *))arg2;
+- (void)_XCT_loadAccessibilityWithTimeout:(double)arg1 reply:(void (^)(BOOL, NSError *))arg2;
+- (void)_XCT_injectVoiceRecognitionAudioInputPaths:(NSArray *)arg1 completion:(void (^)(BOOL, NSError *))arg2;
+- (void)_XCT_injectAssistantRecognitionStrings:(NSArray *)arg1 completion:(void (^)(BOOL, NSError *))arg2;
+- (void)_XCT_startSiriUIRequestWithAudioFileURL:(NSURL *)arg1 completion:(void (^)(BOOL, NSError *))arg2;
+- (void)_XCT_startSiriUIRequestWithText:(NSString *)arg1 completion:(void (^)(BOOL, NSError *))arg2;
+- (void)_XCT_requestDTServiceHubConnectionWithReply:(void (^)(NSXPCListenerEndpoint *, NSError *))arg1;
+- (void)_XCT_enableFauxCollectionViewCells:(void (^)(BOOL, NSError *))arg1;
+- (void)_XCT_setAXTimeout:(double)arg1 reply:(void (^)(int))arg2;
+- (void)_XCT_requestScreenshotWithReply:(void (^)(NSData *, NSError *))arg1;
+- (void)_XCT_sendString:(NSString *)arg1 maximumFrequency:(NSUInteger)arg2 completion:(void (^)(NSError *))arg3;
+- (void)_XCT_updateDeviceOrientation:(long long)arg1 completion:(void (^)(NSError *))arg2;
+- (void)_XCT_performDeviceEvent:(id/*XCDeviceEvent*/)arg1 completion:(void (^)(NSError *))arg2;
+- (void)_XCT_synthesizeEvent:(XCSynthesizedEventRecord *)arg1 completion:(void (^)(NSError *))arg2;
+- (void)_XCT_requestElementAtPoint:(CGPoint)arg1 reply:(void (^)(id/*XCAccessibilityElement*/, NSError *))arg2;
+- (void)_XCT_fetchParameterizedAttributeForElement:(id/*XCAccessibilityElement*/)arg1 attributes:(NSNumber *)arg2 parameter:(id)arg3 reply:(void (^)(id, NSError *))arg4;
+- (void)_XCT_setAttribute:(NSNumber *)arg1 value:(id)arg2 element:(id/*XCAccessibilityElement*/)arg3 reply:(void (^)(BOOL, NSError *))arg4;
+- (void)_XCT_fetchAttributesForElement:(id/*XCAccessibilityElement*/)arg1 attributes:(NSArray *)arg2 reply:(void (^)(NSDictionary *, NSError *))arg3;
+- (void)_XCT_terminateApplicationWithBundleID:(NSString *)arg1 completion:(void (^)(NSError *))arg2;
+- (void)_XCT_performAccessibilityAction:(int)arg1 onElement:(id/*XCAccessibilityElement*/)arg2 withValue:(id)arg3 reply:(void (^)(NSError *))arg4;
+- (void)_XCT_unregisterForAccessibilityNotification:(int)arg1 withRegistrationToken:(NSNumber *)arg2 reply:(void (^)(NSError *))arg3;
+- (void)_XCT_registerForAccessibilityNotification:(int)arg1 reply:(void (^)(NSNumber *, NSError *))arg2;
+- (void)_XCT_launchApplicationWithBundleID:(NSString *)arg1 arguments:(NSArray *)arg2 environment:(NSDictionary *)arg3 completion:(void (^)(NSError *))arg4;
+- (void)_XCT_startMonitoringApplicationWithBundleID:(NSString *)arg1;
+- (void)_XCT_requestBackgroundAssertionForPID:(int)arg1 reply:(void (^)(BOOL))arg2;
+- (void)_XCT_requestBackgroundAssertionWithReply:(void (^)(void))arg1;
+- (void)_XCT_registerTarget;
+- (void)_XCT_requestEndpointForTestTargetWithPID:(int)arg1 preferredBackendPath:(NSString *)arg2 reply:(void (^)(NSXPCListenerEndpoint *, NSError *))arg3;
+- (void)_XCT_requestSocketForSessionIdentifier:(NSUUID *)arg1 reply:(void (^)(NSFileHandle *))arg2;
+- (void)_XCT_exchangeProtocolVersion:(unsigned long long)arg1 reply:(void (^)(unsigned long long))arg2;
+
+// Available since Xcode9
+// The first screenID type changed from "unsigned int" to "long long" since Xcode 13.3 in XCTAutomationSupport.framework/XCTScreenshotRequest.h
+// but this place is still "unsigned int" in the header. Appium/WDA changes to "long long" for Xcode 13.3 x iOS 15.4 environment.
+- (void)_XCT_requestScreenshotOfScreenWithID:(long long)arg1 withRect:(struct CGRect)arg2 uti:(NSString *)arg3 compressionQuality:(double)arg4 withReply:(void (^)(NSData *, NSError *))arg5;
+- (void)_XCT_requestScreenshotOfScreenWithID:(long long)arg1 withRect:(struct CGRect)arg2 withReply:(void (^)(NSData *, NSError *))arg3;
+- (void)_XCT_requestSnapshotForElement:(id/*XCAccessibilityElement*/)arg1 attributes:(NSArray *)arg2 parameters:(NSDictionary *)arg3 reply:(void (^)(id/*XCElementSnapshot*/, NSError *))arg4;
+
+// Available since Xcode 12.5. Required (!!!) to use since Xcode 13
+- (void)_XCT_requestScreenshot:(/*XCTScreenshotRequest * */id)arg1 withReply:(void (^)(/*XCTImage * */id, NSError *))arg2;
+@end

+ 12 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTestManager_TestsInterface-Protocol.h

@@ -0,0 +1,12 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+@class NSData, NSString;
+
+@protocol XCTestManager_TestsInterface
+- (void)_XCT_receivedAccessibilityNotification:(int)arg1 withPayload:(NSData *)arg2;
+- (void)_XCT_applicationWithBundleID:(NSString *)arg1 didUpdatePID:(int)arg2 andState:(unsigned long long)arg3;
+@end

+ 37 - 0
WebDriverAgent-5.8.0/PrivateHeaders/XCTest/XCTestMisuseObserver.h

@@ -0,0 +1,37 @@
+//
+//     Generated by class-dump 3.5 (64 bit).
+//
+//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
+//
+
+#import "NSObject.h"
+
+#import "XCTestObservation.h"
+
+@class NSMutableArray, NSString, XCTestCase, XCTestSuite;
+
+@interface XCTestMisuseObserver : NSObject <XCTestObservation>
+{
+    CDUnknownBlockType _warningLogHandler;
+    NSMutableArray *_testSuiteStack;
+    XCTestCase *_currentTestCase;
+}
+@property(retain) XCTestCase *currentTestCase; // @synthesize currentTestCase=_currentTestCase;
+@property(readonly) NSMutableArray *testSuiteStack; // @synthesize testSuiteStack=_testSuiteStack;
+@property(readonly, copy) CDUnknownBlockType warningLogHandler; // @synthesize warningLogHandler=_warningLogHandler;
+@property(readonly) XCTestSuite *currentTestSuite;
+
+- (void)testCaseDidFinish:(id)arg1;
+- (void)testCase:(id)arg1 didFailWithDescription:(id)arg2 inFile:(id)arg3 atLine:(unsigned long long)arg4;
+- (void)testCaseWillStart:(id)arg1;
+- (void)testSuiteDidFinish:(id)arg1;
+- (void)testSuiteWillStart:(id)arg1;
+- (BOOL)testSuiteStackContainsTestSuite:(id)arg1;
+- (void)removeTestSuiteFromStack:(id)arg1;
+- (void)popCurrentTestSuite;
+- (void)pushTestSuite:(id)arg1;
+- (void)emitWarningLog:(id)arg1;
+
+- (id)initWithWarningLogHandler:(CDUnknownBlockType)arg1;
+
+@end

Some files were not shown because too many files changed in this diff