appium-mac2-driver 2.2.2 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +4 -4
  3. package/WebDriverAgentMac/IntegrationTests/AMW3CActionsTests.m +1 -1
  4. package/WebDriverAgentMac/WebDriverAgentLib/Categories/XCUIApplication+AMActiveElement.h +1 -1
  5. package/WebDriverAgentMac/WebDriverAgentLib/Categories/XCUIApplication+AMSource.h +2 -2
  6. package/WebDriverAgentMac/WebDriverAgentLib/Categories/XCUIApplication+FBW3CActions.h +1 -1
  7. package/WebDriverAgentMac/WebDriverAgentLib/Categories/XCUIElementQuery+AMHelpers.h +2 -2
  8. package/WebDriverAgentMac/WebDriverAgentLib/Commands/AMWindowCommands.m +3 -3
  9. package/WebDriverAgentMac/WebDriverAgentLib/Routing/FBExceptions.h +3 -3
  10. package/WebDriverAgentMac/WebDriverAgentLib/Routing/FBResponseJSONPayload.h +1 -1
  11. package/WebDriverAgentMac/WebDriverAgentLib/Routing/FBScreenRecordingRequest.h +1 -1
  12. package/WebDriverAgentMac/WebDriverAgentLib/Routing/FBScreenRecordingRequest.m +2 -2
  13. package/WebDriverAgentMac/WebDriverAgentLib/Utilities/AMScreenUtils.h +1 -1
  14. package/WebDriverAgentMac/WebDriverAgentLib/Utilities/AMSettings.h +1 -1
  15. package/WebDriverAgentMac/WebDriverAgentLib/Utilities/AMSnapshotUtils.h +2 -2
  16. package/WebDriverAgentMac/WebDriverAgentLib/Utilities/FBBaseActionsSynthesizer.h +9 -9
  17. package/WebDriverAgentMac/WebDriverAgentLib/Utilities/FBClassChainQueryParser.h +4 -4
  18. package/WebDriverAgentMac/WebDriverAgentLib/Utilities/FBClassChainQueryParser.m +4 -4
  19. package/WebDriverAgentMac/WebDriverAgentLib/Utilities/FBElementUtils.h +2 -2
  20. package/WebDriverAgentMac/WebDriverAgentLib/Utilities/FBXPath.h +2 -2
  21. package/WebDriverAgentMac/WebDriverAgentLib/Utilities/FBXPath.m +2 -2
  22. package/build/lib/commands/app-management.d.ts +2 -2
  23. package/build/lib/commands/app-management.d.ts.map +1 -1
  24. package/build/lib/commands/gestures.d.ts +15 -15
  25. package/build/lib/commands/gestures.d.ts.map +1 -1
  26. package/build/lib/commands/native-record-screen.js +4 -0
  27. package/build/lib/commands/native-record-screen.js.map +1 -1
  28. package/build/lib/commands/record-screen.d.ts +1 -2
  29. package/build/lib/commands/record-screen.d.ts.map +1 -1
  30. package/build/lib/doctor/optional-checks.js +2 -4
  31. package/build/lib/doctor/optional-checks.js.map +1 -1
  32. package/build/lib/doctor/required-checks.js +2 -4
  33. package/build/lib/doctor/required-checks.js.map +1 -1
  34. package/build/lib/driver.d.ts +4 -4
  35. package/build/lib/driver.d.ts.map +1 -1
  36. package/build/lib/driver.js +39 -33
  37. package/build/lib/driver.js.map +1 -1
  38. package/build/lib/wda-mac.d.ts +3 -4
  39. package/build/lib/wda-mac.d.ts.map +1 -1
  40. package/build/lib/wda-mac.js +6 -2
  41. package/build/lib/wda-mac.js.map +1 -1
  42. package/lib/wda-mac.js +2 -2
  43. package/npm-shrinkwrap.json +531 -635
  44. package/package.json +11 -12
package/CHANGELOG.md CHANGED
@@ -1,3 +1,23 @@
1
+ ## [3.0.1](https://github.com/appium/appium-mac2-driver/compare/v3.0.0...v3.0.1) (2025-09-28)
2
+
3
+
4
+ ### Miscellaneous Chores
5
+
6
+ * fix typos ([#344](https://github.com/appium/appium-mac2-driver/issues/344)) ([3687efa](https://github.com/appium/appium-mac2-driver/commit/3687efa3b43c83e2ec2a3f1414c6fa3b7f7da5c0))
7
+
8
+ ## [3.0.0](https://github.com/appium/appium-mac2-driver/compare/v2.2.2...v3.0.0) (2025-08-17)
9
+
10
+
11
+ ### ⚠ BREAKING CHANGES
12
+
13
+ * Required Node.js version has been bumped to ^20.19.0 || ^22.12.0 || >=24.0.0
14
+ * Required npm version has been bumped to >=10
15
+ * Required Appium server version has been bumped to >=3.0.0-rc.2
16
+
17
+ ### Features
18
+
19
+ * Update server compatibility ([#342](https://github.com/appium/appium-mac2-driver/issues/342)) ([7aa4858](https://github.com/appium/appium-mac2-driver/commit/7aa4858f61d44adbcf65dbdd888064d3980128bd))
20
+
1
21
  ## [2.2.2](https://github.com/appium/appium-mac2-driver/compare/v2.2.1...v2.2.2) (2025-02-21)
2
22
 
3
23
 
package/README.md CHANGED
@@ -11,9 +11,9 @@ This is Appium driver for automating macOS applications using Apple's [XCTest](h
11
11
  The driver operates in scope of [W3C WebDriver protocol](https://www.w3.org/TR/webdriver/) with several custom extensions to cover operating-system specific scenarios.
12
12
  The original idea and parts of the source code are borrowed from the Facebook's [WebDriverAgent](https://github.com/facebookarchive/WebDriverAgent) project.
13
13
 
14
- > [!NOTE]
15
- > Since version 1.0.0 Mac2 driver has dropped the support of Appium 1, and is only compatible to Appium 2. Use the `appium driver install mac2`
16
- > command to add it to your Appium 2 dist.
14
+ > [!IMPORTANT]
15
+ > Since major version *2.0.0*, this driver is only compatible with Appium 3. Use the `appium driver install mac2`
16
+ > command to add it to your dist.
17
17
 
18
18
 
19
19
  ## Requirements
@@ -83,7 +83,7 @@ Mac2 driver supports the following location strategies:
83
83
 
84
84
  Name | Description | Speed Ranking | Pseudocode
85
85
  --- | --- | --- | ---
86
- accessibilityId, id, name | These all strategies are mapped to the same Mac2 driver ByIdentifier lookup strategy. The locator matches the passed value with element's `identifer` attribute case-sensitively. | `⭐⭐⭐⭐⭐` | AppiumBy.accessibilityId("identifier"), By.id("identifier"), By.name("identifier")
86
+ accessibilityId, id, name | These all strategies are mapped to the same Mac2 driver ByIdentifier lookup strategy. The locator matches the passed value with element's `identifier` attribute case-sensitively. | `⭐⭐⭐⭐⭐` | AppiumBy.accessibilityId("identifier"), By.id("identifier"), By.name("identifier")
87
87
  className | Class name uses stringified element types for lookup | `⭐⭐⭐⭐⭐` | By.className("XCUIElementTypePopUpButton")
88
88
  predicate | Lookup by predicate is natively supported by XCTest and is as fast as previous lookup strategies. This lookup strategy could only use the supported [element attributes](#element-attributes). Unknown attribute names would throw an exception. Check [NSPredicate cheat sheet](https://academy.realm.io/posts/nspredicate-cheatsheet/) for more details on how to build effective and flexible locators. | `⭐⭐⭐⭐⭐` | AppiumBy.iOSNsPredicateString("elementType == 2 AND label BEGINSWITH 'Safari'")
89
89
  classChain | This strategy is a combination of Xpath flexibility and fast predicate lookup. Prefer it over Xpath unless there is no other way to build the desired locator. Visit [Class Chain Construction Rules tutorial](https://github.com/facebookarchive/WebDriverAgent/wiki/Class-Chain-Queries-Construction-Rules) to get more knowledge on how to build class chain locators. | `⭐⭐⭐⭐` | AppiumBy.iOSClassChain("**/XCUIElementTypeRuler[$elementType == 72 AND value BEGINSWITH '10'$]")
@@ -136,7 +136,7 @@
136
136
  },
137
137
  ],
138
138
 
139
- // Chain element with singe up action
139
+ // Chain element with single up action
140
140
  @[@{
141
141
  @"type": @"pointer",
142
142
  @"id": @"finger1",
@@ -21,7 +21,7 @@ NS_ASSUME_NONNULL_BEGIN
21
21
  @interface XCUIApplication (AMActiveElement)
22
22
 
23
23
  /**
24
- Retrives the element, which holds the keyboard input focus
24
+ Retrieves the element, which holds the keyboard input focus
25
25
  */
26
26
  - (nullable XCUIElement *)am_activeElement;
27
27
 
@@ -21,12 +21,12 @@ NS_ASSUME_NONNULL_BEGIN
21
21
  @interface XCUIApplication (AMSource)
22
22
 
23
23
  /**
24
- Retrives XML application source representation
24
+ Retrieves XML application source representation
25
25
  */
26
26
  - (NSString *)am_xmlRepresentation;
27
27
 
28
28
  /**
29
- Retrives description application source representation.
29
+ Retrieves description application source representation.
30
30
  Actually, the value of debugDescription property
31
31
  */
32
32
  - (NSString *)am_descriptionRepresentation;
@@ -19,7 +19,7 @@ NS_ASSUME_NONNULL_BEGIN
19
19
  Perform complex touch action in scope of the current application.
20
20
 
21
21
  @param actions Array of dictionaries, whose format is described in W3C spec (https://github.com/jlipps/simple-wd-spec#perform-actions)
22
- @param elementCache Cached elements mapping for the currrent application. The method assumes all elements are already represented by their actual instances if nil value is set
22
+ @param elementCache Cached elements mapping for the current application. The method assumes all elements are already represented by their actual instances if nil value is set
23
23
  @param error If there is an error, upon return contains an NSError object that describes the problem
24
24
  @return YES If the touch action has been successfully performed without errors
25
25
  */
@@ -23,14 +23,14 @@ NS_ASSUME_NONNULL_BEGIN
23
23
  /**
24
24
  Retrieves the first match from the query
25
25
 
26
- @returns Matched element instance ot nil if no element is found
26
+ @returns Matched element instance or nil if no element is found
27
27
  */
28
28
  - (nullable XCUIElement *)am_firstMatch;
29
29
 
30
30
  /**
31
31
  Retrieves all matches from the query
32
32
 
33
- @returns Matched element instances ot an empty array if no matches are found
33
+ @returns Matched element instances or an empty array if no matches are found
34
34
  */
35
35
  - (NSArray<XCUIElement *> *)am_allMatches;
36
36
 
@@ -32,21 +32,21 @@
32
32
  {
33
33
  return [self performClickWithButtonId:@"_XCUI:FullScreenWindow"
34
34
  request:request
35
- errorMessage:[NSString stringWithFormat:@"%@ window cannot be maximized because the correponding button is not available", request.session.currentApplication.description]];
35
+ errorMessage:[NSString stringWithFormat:@"%@ window cannot be maximized because the corresponding button is not available", request.session.currentApplication.description]];
36
36
  }
37
37
 
38
38
  + (id<FBResponsePayload>)handleFullscreenWindow:(FBRouteRequest *)request
39
39
  {
40
40
  return [self performClickWithButtonId:@"_XCUI:FullScreenWindow"
41
41
  request:request
42
- errorMessage:[NSString stringWithFormat:@"%@ window cannot be put into fullscreen mode because the correponding button is not available", request.session.currentApplication.description]];
42
+ errorMessage:[NSString stringWithFormat:@"%@ window cannot be put into fullscreen mode because the corresponding button is not available", request.session.currentApplication.description]];
43
43
  }
44
44
 
45
45
  + (id<FBResponsePayload>)handleMinimizeWindow:(FBRouteRequest *)request
46
46
  {
47
47
  return [self performClickWithButtonId:@"_XCUI:MinimizeWindow"
48
48
  request:request
49
- errorMessage:[NSString stringWithFormat:@"%@ window cannot be minimized because the correponding button is not available", request.session.currentApplication.description]];
49
+ errorMessage:[NSString stringWithFormat:@"%@ window cannot be minimized because the corresponding button is not available", request.session.currentApplication.description]];
50
50
  }
51
51
 
52
52
  + (id<FBResponsePayload>)performClickWithButtonId:(NSString *)buttonId
@@ -30,16 +30,16 @@ extern NSString *const FBElementNotVisibleException;
30
30
  extern NSString *const FBTimeoutException;
31
31
 
32
32
  /**
33
- The exception happends if the cached element does not exist in DOM anymore
33
+ The exception happens if the cached element does not exist in DOM anymore
34
34
  */
35
35
  extern NSString *const FBStaleElementException;
36
36
 
37
37
  /**
38
- The exception happends if the provided XPath expession cannot be compiled because of a syntax error
38
+ The exception happens if the provided XPath expression cannot be compiled because of a syntax error
39
39
  */
40
40
  extern NSString *const FBInvalidXPathException;
41
41
  /**
42
- The exception happends if any internal error is triggered during XPath matching procedure
42
+ The exception happens if any internal error is triggered during XPath matching procedure
43
43
  */
44
44
  extern NSString *const FBXPathQueryEvaluationException;
45
45
 
@@ -15,7 +15,7 @@
15
15
  NS_ASSUME_NONNULL_BEGIN
16
16
 
17
17
  /**
18
- Class that represents WebDriverAgent JSON repsonse
18
+ Class that represents WebDriverAgent JSON response
19
19
  */
20
20
  @interface FBResponseJSONPayload : NSObject <FBResponsePayload>
21
21
 
@@ -20,7 +20,7 @@ NS_ASSUME_NONNULL_BEGIN
20
20
  @property (readonly, nonatomic, nullable) NSNumber *displayID;
21
21
 
22
22
  /**
23
- Creates a custom wrapper for a screen recording reqeust
23
+ Creates a custom wrapper for a screen recording request
24
24
 
25
25
  @param fps FPS value, see baove
26
26
  @param codec Codex value, see above
@@ -37,7 +37,7 @@
37
37
  SEL videoEncodingConstructorSelector = NSSelectorFromString(@"initWithCodec:frameRate:");
38
38
  if (![videoEncodingAllocated respondsToSelector:videoEncodingConstructorSelector]) {
39
39
  [[[FBErrorBuilder builder]
40
- withDescription:@"'initWithCodec:frameRate:' contructor is not found on XCTVideoEncoding class"]
40
+ withDescription:@"'initWithCodec:frameRate:' constructor is not found on XCTVideoEncoding class"]
41
41
  buildError:error];
42
42
  return nil;
43
43
  }
@@ -69,7 +69,7 @@
69
69
  SEL screenRecordingRequestConstructorSelector = NSSelectorFromString(@"initWithScreenID:rect:preferredEncoding:");
70
70
  if (![screenRecordingRequestAllocated respondsToSelector:screenRecordingRequestConstructorSelector]) {
71
71
  [[[FBErrorBuilder builder]
72
- withDescription:@"'initWithScreenID:rect:preferredEncoding:' contructor is not found on XCTScreenRecordingRequest class"]
72
+ withDescription:@"'initWithScreenID:rect:preferredEncoding:' constructor is not found on XCTScreenRecordingRequest class"]
73
73
  buildError:error];
74
74
  return nil;
75
75
  }
@@ -22,7 +22,7 @@ NS_ASSUME_NONNULL_BEGIN
22
22
 
23
23
  /** YES if the corresponding screen is a main screen */
24
24
  @property (readonly, nonatomic) BOOL isMain;
25
- /** The integer indentifier of a screen */
25
+ /** The integer identifier of a screen */
26
26
  @property (readonly, nonatomic) long long identifier;
27
27
 
28
28
  @end
@@ -18,7 +18,7 @@
18
18
 
19
19
  NS_ASSUME_NONNULL_BEGIN
20
20
 
21
- /*!Controls elements binding strategy. By default elements are bind by accessiblity identifier */
21
+ /*!Controls elements binding strategy. By default elements are bind by accessibility identifier */
22
22
  extern NSString* const AM_BOUND_ELEMENTS_BY_INDEX_SETTING;
23
23
 
24
24
  /*!Whether to use the default XCTest UI interruptions hanfling (YES by default).
@@ -21,11 +21,11 @@ NS_ASSUME_NONNULL_BEGIN
21
21
  @interface AMSnapshotUtils : NSObject
22
22
 
23
23
  /**
24
- Retrives the unique snapshot hash. This hash is unique per snapshot's
24
+ Retrieves the unique snapshot hash. This hash is unique per snapshot's
25
25
  accessibility elemnent, which means different snapshots of the same
26
26
  element may have equal hashes
27
27
 
28
- @param snapshot snapshot instance to calcluate the hash for
28
+ @param snapshot snapshot instance to calculate the hash for
29
29
  @return The hash value as base64-encoded string
30
30
  */
31
31
  + (NSString *)hashWithSnapshot:(id)snapshot;
@@ -23,14 +23,14 @@ NS_ASSUME_NONNULL_BEGIN
23
23
  @property (nonatomic) double offset;
24
24
 
25
25
  /**
26
- Get the name of the corresponding raw action item. This method is expected to be overriden in subclasses.
27
-
28
- @return The corresponding action item key in object's raw JSON reprsentation
26
+ Get the name of the corresponding raw action item. This method is expected to be overridden in subclasses.
27
+
28
+ @return The corresponding action item key in object's raw JSON representation
29
29
  */
30
30
  + (NSString *)actionName;
31
31
 
32
32
  /**
33
- Add the current gesture to XCPointerEventPath instance. This method is expected to be overriden in subclasses.
33
+ Add the current gesture to XCPointerEventPath instance. This method is expected to be overridden in subclasses.
34
34
 
35
35
  @param eventPath The destination XCPointerEventPath instance. If nil value is passed then a new XCPointerEventPath instance is going to be created
36
36
  @param allItems The existing actions chain to be transformed into event path
@@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN
66
66
  Calculate absolute gesture position on the screen based on provided element and positionOffset values.
67
67
 
68
68
  @param element The element instance to perform the gesture on. If element equals to nil then positionOffset is considered as absolute coordinates
69
- @param positionOffset The actual coordinate offset. If this calue equals to nil then element's hitpoint is taken as gesture position. If element is not nil then this offset is calculated relatively to the top-left cordner of the element's position
69
+ @param positionOffset The actual coordinate offset. If this value equals to nil then element's hitpoint is taken as gesture position. If element is not nil then this offset is calculated relatively to the top-left cordner of the element's position
70
70
  @param error If there is an error, upon return contains an NSError object that describes the problem
71
71
  @return Adbsolute gesture position on the screen or nil if the calculation fails (for example, the element is invisible)
72
72
  */
@@ -85,7 +85,7 @@ NS_ASSUME_NONNULL_BEGIN
85
85
  @property (nonatomic) double durationOffset;
86
86
 
87
87
  /**
88
- Add a new gesture item to the current chain. The method is expected to be overriden in subclasses.
88
+ Add a new gesture item to the current chain. The method is expected to be overridden in subclasses.
89
89
 
90
90
  @param item The actual gesture instance to be added
91
91
  */
@@ -113,8 +113,8 @@ NS_ASSUME_NONNULL_BEGIN
113
113
 
114
114
  /**
115
115
  Initializes actions synthesizer. This initializer should be used only by subclasses.
116
-
117
- @param actions The raw actions chain received from request's JSON. The format of this chain is defined by the standard, implemented in the correspoding subclass.
116
+
117
+ @param actions The raw actions chain received from request's JSON. The format of this chain is defined by the standard, implemented in the corresponding subclass.
118
118
  @param application Current application instance
119
119
  @param elementCache Elements cache, which is used to replace elements references in the chain with their instances. We assume the chain already contains element instances if this parameter is set to nil
120
120
  @param error If there is an error, upon return contains an NSError object that describes the problem
@@ -126,7 +126,7 @@ NS_ASSUME_NONNULL_BEGIN
126
126
  error:(NSError **)error;
127
127
 
128
128
  /**
129
- Synthesizes XCTest-compatible event record to be performed in the UI. This method is supposed to be overriden by subclasses.
129
+ Synthesizes XCTest-compatible event record to be performed in the UI. This method is supposed to be overridden by subclasses.
130
130
 
131
131
  @param error If there is an error, upon return contains an NSError object that describes the problem
132
132
  @return The generated event record or nil in case of failure
@@ -41,7 +41,7 @@ NS_ASSUME_NONNULL_BEGIN
41
41
  @property (readonly, nonatomic, nullable) NSNumber *position;
42
42
  /*! Element's type */
43
43
  @property (readonly, nonatomic) XCUIElementType type;
44
- /*! Whether an element is a descendant of the previos element */
44
+ /*! Whether an element is a descendant of the previous element */
45
45
  @property (readonly, nonatomic) BOOL isDescendant;
46
46
  /*! The ordered list of matching predicates for the current element */
47
47
  @property (readonly, nonatomic) NSArray<FBAbstractPredicateItem *> *predicates;
@@ -84,14 +84,14 @@ NS_ASSUME_NONNULL_BEGIN
84
84
 
85
85
  /**
86
86
  Method used to interpret class chain queries
87
-
87
+
88
88
  @param classChainQuery class chain query as string. See the documentation of
89
89
  XCUIElement+FBClassChain category for more details about the expected query format
90
- @param error standard NSError object, which is going to be initializaed if
90
+ @param error standard NSError object, which is going to be initialized if
91
91
  there are query parsing errors
92
92
  @return list of parsed primitives packed to FBClassChainElement class or nil in case
93
93
  there was parsing error (the parameter will be initialized with detailed error description in such case)
94
- @throws FBUnknownAttributeException if any of predicates in the chain contains unknown attribute
94
+ @throws FBUnknownAttributeException if any of predicates in the chain contains unknown attribute
95
95
  */
96
96
  + (nullable FBClassChain*)parseQuery:(NSString*)classChainQuery error:(NSError **)error;
97
97
 
@@ -93,19 +93,19 @@ NS_ASSUME_NONNULL_END
93
93
 
94
94
  + (NSCharacterSet *)allowedCharacters
95
95
  {
96
- // This method is expected to be overriden by subclasses
96
+ // This method is expected to be overridden by subclasses
97
97
  return [NSCharacterSet characterSetWithCharactersInString:@""];
98
98
  }
99
99
 
100
100
  + (NSUInteger)maxLength
101
101
  {
102
- // This method is expected to be overriden by subclasses
102
+ // This method is expected to be overridden by subclasses
103
103
  return ULONG_MAX;
104
104
  }
105
105
 
106
106
  - (NSArray<Class> *)followingTokens
107
107
  {
108
- // This method is expected to be overriden by subclasses
108
+ // This method is expected to be overridden by subclasses
109
109
  return @[];
110
110
  }
111
111
 
@@ -314,7 +314,7 @@ static NSString *const FBAbstractMethodInvocationException = @"FBAbstractMethodI
314
314
 
315
315
  + (NSString *)enclosingMarker
316
316
  {
317
- NSString *errMsg = [NSString stringWithFormat:@"The + (NSString *)enclosingMarker method is expected to be overriden by %@ class", NSStringFromClass(self.class)];
317
+ NSString *errMsg = [NSString stringWithFormat:@"The + (NSString *)enclosingMarker method is expected to be overridden by %@ class", NSStringFromClass(self.class)];
318
318
  @throw [NSException exceptionWithName:FBAbstractMethodInvocationException reason:errMsg userInfo:nil];
319
319
  }
320
320
 
@@ -24,8 +24,8 @@ NS_ASSUME_NONNULL_BEGIN
24
24
 
25
25
  /**
26
26
  Returns available attributes names of an element
27
-
28
- @return list of attribute names, basically memebers of XCUIElementAttributeName enum
27
+
28
+ @return list of attribute names, basically members of XCUIElementAttributeName enum
29
29
  */
30
30
  + (NSArray<NSString *> *)wdAttributeNames;
31
31
 
@@ -15,10 +15,10 @@ NS_ASSUME_NONNULL_BEGIN
15
15
 
16
16
  /**
17
17
  Returns an array of descendants matching given xpath query
18
-
18
+
19
19
  @param root the root element to execute XPath query for
20
20
  @param xpathQuery requested xpath query
21
- @param firstMatch whether to only resulve the first matched element (if YES) or all of them
21
+ @param firstMatch whether to only resolve the first matched element (if YES) or all of them
22
22
  @return an array of descendants matching the given xpath query or an empty array if no matches were found
23
23
  @throws NSException if there is an unexpected internal error during xml parsing
24
24
  */
@@ -279,13 +279,13 @@ static NSString *const FBAbstractMethodInvocationException = @"AbstractMethodInv
279
279
 
280
280
  + (NSString *)name
281
281
  {
282
- NSString *errMsg = [NSString stringWithFormat:@"The abstract method +(NSString *)name is expected to be overriden by %@", NSStringFromClass(self.class)];
282
+ NSString *errMsg = [NSString stringWithFormat:@"The abstract method +(NSString *)name is expected to be overridden by %@", NSStringFromClass(self.class)];
283
283
  @throw [NSException exceptionWithName:FBAbstractMethodInvocationException reason:errMsg userInfo:nil];
284
284
  }
285
285
 
286
286
  + (NSString *)valueForElement:(id<XCUIElementSnapshot>)element
287
287
  {
288
- NSString *errMsg = [NSString stringWithFormat:@"The abstract method -(NSString *)value is expected to be overriden by %@", NSStringFromClass(self.class)];
288
+ NSString *errMsg = [NSString stringWithFormat:@"The abstract method -(NSString *)value is expected to be overridden by %@", NSStringFromClass(self.class)];
289
289
  @throw [NSException exceptionWithName:FBAbstractMethodInvocationException reason:errMsg userInfo:nil];
290
290
  }
291
291
 
@@ -13,7 +13,7 @@
13
13
  * @param {import('@appium/types').StringRecord} [environment] Environment variables mapping.
14
14
  * Custom variables are added to the default process environment.
15
15
  */
16
- export function macosLaunchApp(this: import("../driver").Mac2Driver, bundleId?: string, path?: string, args?: string[], environment?: import("@appium/types").StringRecord): Promise<unknown>;
16
+ export function macosLaunchApp(this: import("../driver").Mac2Driver, bundleId?: string, path?: string, args?: string[], environment?: import("@appium/types").StringRecord): Promise<any>;
17
17
  /**
18
18
  * Activate an app with given bundle identifier. An exception is thrown if the
19
19
  * app cannot be found or is not running.
@@ -24,7 +24,7 @@ export function macosLaunchApp(this: import("../driver").Mac2Driver, bundleId?:
24
24
  * @param {string} [path] Full path to the app bundle. Either this property
25
25
  * or `bundleId` must be provided
26
26
  */
27
- export function macosActivateApp(this: import("../driver").Mac2Driver, bundleId?: string, path?: string): Promise<unknown>;
27
+ export function macosActivateApp(this: import("../driver").Mac2Driver, bundleId?: string, path?: string): Promise<any>;
28
28
  /**
29
29
  * Terminate an app with given bundle identifier. An exception is thrown if the
30
30
  * app cannot be found.
@@ -1 +1 @@
1
- {"version":3,"file":"app-management.d.ts","sourceRoot":"","sources":["../../../lib/commands/app-management.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,gFATW,MAAM,SAEN,MAAM,SAEN,MAAM,EAAE,gBAER,OAAO,eAAe,EAAE,YAAY,oBAe9C;AAED;;;;;;;;;GASG;AACH,kFALW,MAAM,SAEN,MAAM,oBAKhB;AAED;;;;;;;;;;;GAWG;AACH,mFAPW,MAAM,SAEN,MAAM,GAEJ,OAAO,CAAC,OAAO,CAAC,CAO5B;AAED;;;;;;;;;;;;GAYG;AACH,oFARW,MAAM,SAEN,MAAM,GAEJ,OAAO,CAAC,MAAM,CAAC,CAQ3B;yBAGY,OAAO,WAAW,EAAE,UAAU"}
1
+ {"version":3,"file":"app-management.d.ts","sourceRoot":"","sources":["../../../lib/commands/app-management.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,gFATW,MAAM,SAEN,MAAM,SAEN,MAAM,EAAE,gBAER,OAAO,eAAe,EAAE,YAAY,gBAe9C;AAED;;;;;;;;;GASG;AACH,kFALW,MAAM,SAEN,MAAM,gBAKhB;AAED;;;;;;;;;;;GAWG;AACH,mFAPW,MAAM,SAEN,MAAM,GAEJ,OAAO,CAAC,OAAO,CAAC,CAO5B;AAED;;;;;;;;;;;;GAYG;AACH,oFARW,MAAM,SAEN,MAAM,GAEJ,OAAO,CAAC,MAAM,CAAC,CAQ3B;yBAGY,OAAO,WAAW,EAAE,UAAU"}
@@ -13,7 +13,7 @@
13
13
  * https://developer.apple.com/documentation/xctest/xcuikeymodifierflags
14
14
  * for more details.
15
15
  */
16
- export function macosSetValue(this: import("../driver").Mac2Driver, elementId: string, value?: any, text?: string, keyModifierFlags?: number): Promise<unknown>;
16
+ export function macosSetValue(this: import("../driver").Mac2Driver, elementId: string, value?: any, text?: string, keyModifierFlags?: number): Promise<any>;
17
17
  /**
18
18
  * Perform click gesture on an element or by relative/absolute coordinates
19
19
  *
@@ -29,7 +29,7 @@ export function macosSetValue(this: import("../driver").Mac2Driver, elementId: s
29
29
  * https://developer.apple.com/documentation/xctest/xcuikeymodifierflags
30
30
  * for more details
31
31
  */
32
- export function macosClick(this: import("../driver").Mac2Driver, elementId?: string, x?: number, y?: number, keyModifierFlags?: number): Promise<unknown>;
32
+ export function macosClick(this: import("../driver").Mac2Driver, elementId?: string, x?: number, y?: number, keyModifierFlags?: number): Promise<any>;
33
33
  /**
34
34
  * Perform scroll gesture on an element or by relative/absolute coordinates
35
35
  *
@@ -47,7 +47,7 @@ export function macosClick(this: import("../driver").Mac2Driver, elementId?: str
47
47
  * https://developer.apple.com/documentation/xctest/xcuikeymodifierflags
48
48
  * for more details
49
49
  */
50
- export function macosScroll(this: import("../driver").Mac2Driver, deltaX: number, deltaY: number, elementId?: string, x?: number, y?: number, keyModifierFlags?: number): Promise<unknown>;
50
+ export function macosScroll(this: import("../driver").Mac2Driver, deltaX: number, deltaY: number, elementId?: string, x?: number, y?: number, keyModifierFlags?: number): Promise<any>;
51
51
  /**
52
52
  * Perform swipe gesture on an element
53
53
  *
@@ -69,7 +69,7 @@ export function macosScroll(this: import("../driver").Mac2Driver, deltaX: number
69
69
  * https://developer.apple.com/documentation/xctest/xcuikeymodifierflags
70
70
  * for more details
71
71
  */
72
- export function macosSwipe(this: import("../driver").Mac2Driver, direction: "up" | "down" | "left" | "right", elementId?: string, x?: number, y?: number, velocity?: number, keyModifierFlags?: number): Promise<unknown>;
72
+ export function macosSwipe(this: import("../driver").Mac2Driver, direction: "up" | "down" | "left" | "right", elementId?: string, x?: number, y?: number, velocity?: number, keyModifierFlags?: number): Promise<any>;
73
73
  /**
74
74
  * Perform right click gesture on an element or by relative/absolute coordinates
75
75
  *
@@ -85,7 +85,7 @@ export function macosSwipe(this: import("../driver").Mac2Driver, direction: "up"
85
85
  * https://developer.apple.com/documentation/xctest/xcuikeymodifierflags
86
86
  * for more details
87
87
  */
88
- export function macosRightClick(this: import("../driver").Mac2Driver, elementId?: string, x?: number, y?: number, keyModifierFlags?: number): Promise<unknown>;
88
+ export function macosRightClick(this: import("../driver").Mac2Driver, elementId?: string, x?: number, y?: number, keyModifierFlags?: number): Promise<any>;
89
89
  /**
90
90
  * Perform hover gesture on an element or by relative/absolute coordinates
91
91
  *
@@ -101,7 +101,7 @@ export function macosRightClick(this: import("../driver").Mac2Driver, elementId?
101
101
  * https://developer.apple.com/documentation/xctest/xcuikeymodifierflags
102
102
  * for more details
103
103
  */
104
- export function macosHover(this: import("../driver").Mac2Driver, elementId?: string, x?: number, y?: number, keyModifierFlags?: number): Promise<unknown>;
104
+ export function macosHover(this: import("../driver").Mac2Driver, elementId?: string, x?: number, y?: number, keyModifierFlags?: number): Promise<any>;
105
105
  /**
106
106
  * Perform double click gesture on an element or by relative/absolute coordinates
107
107
  *
@@ -117,7 +117,7 @@ export function macosHover(this: import("../driver").Mac2Driver, elementId?: str
117
117
  * https://developer.apple.com/documentation/xctest/xcuikeymodifierflags
118
118
  * for more details
119
119
  */
120
- export function macosDoubleClick(this: import("../driver").Mac2Driver, elementId?: string, x?: number, y?: number, keyModifierFlags?: number): Promise<unknown>;
120
+ export function macosDoubleClick(this: import("../driver").Mac2Driver, elementId?: string, x?: number, y?: number, keyModifierFlags?: number): Promise<any>;
121
121
  /**
122
122
  * Perform long click and drag gesture on an element or by absolute coordinates
123
123
  *
@@ -138,7 +138,7 @@ export function macosDoubleClick(this: import("../driver").Mac2Driver, elementId
138
138
  * https://developer.apple.com/documentation/xctest/xcuikeymodifierflags
139
139
  * for more details
140
140
  */
141
- export function macosClickAndDrag(this: import("../driver").Mac2Driver, duration: number, sourceElementId?: string, destinationElementId?: string, startX?: number, startY?: number, endX?: number, endY?: number, keyModifierFlags?: number): Promise<unknown>;
141
+ export function macosClickAndDrag(this: import("../driver").Mac2Driver, duration: number, sourceElementId?: string, destinationElementId?: string, startX?: number, startY?: number, endX?: number, endY?: number, keyModifierFlags?: number): Promise<any>;
142
142
  /**
143
143
  * Perform long click, drag and hold gesture on an element or by absolute coordinates
144
144
  *
@@ -163,7 +163,7 @@ export function macosClickAndDrag(this: import("../driver").Mac2Driver, duration
163
163
  * applied while drag is performed. See
164
164
  * https://developer.apple.com/documentation/xctest/xcuikeymodifierflags
165
165
  * for more details */
166
- export function macosClickAndDragAndHold(this: import("../driver").Mac2Driver, duration: number, holdDuration: number, sourceElementId?: string, destinationElementId?: string, startX?: number, startY?: number, endX?: number, endY?: number, velocity?: number, keyModifierFlags?: number): Promise<unknown>;
166
+ export function macosClickAndDragAndHold(this: import("../driver").Mac2Driver, duration: number, holdDuration: number, sourceElementId?: string, destinationElementId?: string, startX?: number, startY?: number, endX?: number, endY?: number, velocity?: number, keyModifierFlags?: number): Promise<any>;
167
167
  /**
168
168
  * Send keys to the given element or to the application under test
169
169
  *
@@ -177,7 +177,7 @@ export function macosClickAndDragAndHold(this: import("../driver").Mac2Driver, d
177
177
  * If unset then keys are sent to the current application
178
178
  * under test.
179
179
  */
180
- export function macosKeys(this: import("../driver").Mac2Driver, keys: (import("../types").KeyOptions | string)[], elementId?: string): Promise<unknown>;
180
+ export function macosKeys(this: import("../driver").Mac2Driver, keys: (import("../types").KeyOptions | string)[], elementId?: string): Promise<any>;
181
181
  /**
182
182
  * Perform tap gesture on a Touch Bar element or by relative/absolute coordinates
183
183
  *
@@ -193,7 +193,7 @@ export function macosKeys(this: import("../driver").Mac2Driver, keys: (import(".
193
193
  * https://developer.apple.com/documentation/xctest/xcuikeymodifierflags
194
194
  * for more details
195
195
  */
196
- export function macosTap(this: import("../driver").Mac2Driver, elementId?: string, x?: number, y?: number, keyModifierFlags?: number): Promise<unknown>;
196
+ export function macosTap(this: import("../driver").Mac2Driver, elementId?: string, x?: number, y?: number, keyModifierFlags?: number): Promise<any>;
197
197
  /**
198
198
  * Perform tap gesture on a Touch Bar element or by relative/absolute coordinates
199
199
  *
@@ -209,7 +209,7 @@ export function macosTap(this: import("../driver").Mac2Driver, elementId?: strin
209
209
  * https://developer.apple.com/documentation/xctest/xcuikeymodifierflags
210
210
  * for more details
211
211
  */
212
- export function macosDoubleTap(this: import("../driver").Mac2Driver, elementId?: string, x?: number, y?: number, keyModifierFlags?: number): Promise<unknown>;
212
+ export function macosDoubleTap(this: import("../driver").Mac2Driver, elementId?: string, x?: number, y?: number, keyModifierFlags?: number): Promise<any>;
213
213
  /**
214
214
  * Perform press gesture on a Touch Bar element or by relative/absolute coordinates
215
215
  *
@@ -226,7 +226,7 @@ export function macosDoubleTap(this: import("../driver").Mac2Driver, elementId?:
226
226
  * https://developer.apple.com/documentation/xctest/xcuikeymodifierflags
227
227
  * for more details
228
228
  */
229
- export function macosPressAndHold(this: import("../driver").Mac2Driver, duration: number, elementId?: string, x?: number, y?: number, keyModifierFlags?: number): Promise<unknown>;
229
+ export function macosPressAndHold(this: import("../driver").Mac2Driver, duration: number, elementId?: string, x?: number, y?: number, keyModifierFlags?: number): Promise<any>;
230
230
  /**
231
231
  * Perform long press and drag gesture on a Touch Bar element or by absolute coordinates
232
232
  *
@@ -247,7 +247,7 @@ export function macosPressAndHold(this: import("../driver").Mac2Driver, duration
247
247
  * https://developer.apple.com/documentation/xctest/xcuikeymodifierflags
248
248
  * for more details
249
249
  */
250
- export function macosPressAndDrag(this: import("../driver").Mac2Driver, duration: number, sourceElementId?: string, destinationElementId?: string, startX?: number, startY?: number, endX?: number, endY?: number, keyModifierFlags?: number): Promise<unknown>;
250
+ export function macosPressAndDrag(this: import("../driver").Mac2Driver, duration: number, sourceElementId?: string, destinationElementId?: string, startX?: number, startY?: number, endX?: number, endY?: number, keyModifierFlags?: number): Promise<any>;
251
251
  /**
252
252
  * Perform press, drag and hold gesture on a Touch Bar element or by absolute Touch Bar coordinates
253
253
  *
@@ -273,6 +273,6 @@ export function macosPressAndDrag(this: import("../driver").Mac2Driver, duration
273
273
  * https://developer.apple.com/documentation/xctest/xcuikeymodifierflags
274
274
  * for more details
275
275
  */
276
- export function macosPressAndDragAndHold(this: import("../driver").Mac2Driver, duration: number, holdDuration: number, sourceElementId?: string, destinationElementId?: string, startX?: number, startY?: number, endX?: number, endY?: number, velocity?: number, keyModifierFlags?: number): Promise<unknown>;
276
+ export function macosPressAndDragAndHold(this: import("../driver").Mac2Driver, duration: number, holdDuration: number, sourceElementId?: string, destinationElementId?: string, startX?: number, startY?: number, endX?: number, endY?: number, velocity?: number, keyModifierFlags?: number): Promise<any>;
277
277
  export type Mac2Driver = import("../driver").Mac2Driver;
278
278
  //# sourceMappingURL=gestures.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"gestures.d.ts","sourceRoot":"","sources":["../../../lib/commands/gestures.js"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;GAcG;AACH,+EARW,MAAM,UACN,GAAG,SACH,MAAM,qBACN,MAAM,oBAUhB;AAGD;;;;;;;;;;;;;;GAcG;AACH,6EAXW,MAAM,MAIN,MAAM,MACN,MAAM,qBACN,MAAM,oBAYhB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,0EAbW,MAAM,UACN,MAAM,cACN,MAAM,MAIN,MAAM,MACN,MAAM,qBACN,MAAM,oBAkBhB;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,4EAjBW,IAAI,GAAC,MAAM,GAAC,MAAM,GAAC,OAAO,cAC1B,MAAM,MAIN,MAAM,MACN,MAAM,aACN,MAAM,qBAKN,MAAM,oBAoBhB;AAED;;;;;;;;;;;;;;GAcG;AACH,kFAXW,MAAM,MAIN,MAAM,MACN,MAAM,qBACN,MAAM,oBAYhB;AAED;;;;;;;;;;;;;;GAcG;AACH,6EAXW,MAAM,MAIN,MAAM,MACN,MAAM,qBACN,MAAM,oBAYhB;AAED;;;;;;;;;;;;;;GAcG;AACH,mFAXW,MAAM,MAIN,MAAM,MACN,MAAM,qBACN,MAAM,oBAYhB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,kFAhBW,MAAM,oBACN,MAAM,yBAGN,MAAM,WAGN,MAAM,WACN,MAAM,SACN,MAAM,SACN,MAAM,qBACN,MAAM,oBA4BhB;AAED;;;;;;;;;;;;;;;;;;;;;;;sCAuBsC;AACtC,yFApBW,MAAM,gBACN,MAAM,oBACN,MAAM,yBAGN,MAAM,WAGN,MAAM,WACN,MAAM,SACN,MAAM,SACN,MAAM,aACN,MAAM,qBAIN,MAAM,oBA8BhB;AAED;;;;;;;;;;;;GAYG;AACH,sEATW,CAAC,OAAO,UAAU,EAAE,UAAU,GAAG,MAAM,CAAC,EAAE,cAK1C,MAAM,oBAOhB;AAED;;;;;;;;;;;;;;GAcG;AACH,2EAXW,MAAM,MAIN,MAAM,MACN,MAAM,qBACN,MAAM,oBAYhB;AAED;;;;;;;;;;;;;;GAcG;AACH,iFAXW,MAAM,MAIN,MAAM,MACN,MAAM,qBACN,MAAM,oBAYhB;AAED;;;;;;;;;;;;;;;GAeG;AACH,kFAZW,MAAM,cACN,MAAM,MAIN,MAAM,MACN,MAAM,qBACN,MAAM,oBAYhB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,kFAhBW,MAAM,oBACN,MAAM,yBAGN,MAAM,WAGN,MAAM,WACN,MAAM,SACN,MAAM,SACN,MAAM,qBACN,MAAM,oBA4BhB;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,yFArBW,MAAM,gBACN,MAAM,oBACN,MAAM,yBAGN,MAAM,WAGN,MAAM,WACN,MAAM,SACN,MAAM,SACN,MAAM,aACN,MAAM,qBAIN,MAAM,oBA+BhB;yBAwCY,OAAO,WAAW,EAAE,UAAU"}
1
+ {"version":3,"file":"gestures.d.ts","sourceRoot":"","sources":["../../../lib/commands/gestures.js"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;GAcG;AACH,+EARW,MAAM,UACN,GAAG,SACH,MAAM,qBACN,MAAM,gBAUhB;AAGD;;;;;;;;;;;;;;GAcG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G;AACH,kFAZW,MAAM,cACN,MAAM,MAIN,MAAM,MACN,MAAM,qBACN,MAAM,gBAYhB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,kFAhBW,MAAM,oBACN,MAAM,yBAGN,MAAM,WAGN,MAAM,WACN,MAAM,SACN,MAAM,SACN,MAAM,qBACN,MAAM,gBA4BhB;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,yFArBW,MAAM,gBACN,MAAM,oBACN,MAAM,yBAGN,MAAM,WAGN,MAAM,WACN,MAAM,SACN,MAAM,SACN,MAAM,aACN,MAAM,qBAIN,MAAM,gBA+BhB;yBAwCY,OAAO,WAAW,EAAE,UAAU"}
@@ -55,6 +55,10 @@ const BUFFER_SIZE = 0xFFFF;
55
55
  const MONITORING_INTERVAL_DURATION_MS = 1000;
56
56
  const MAX_MONITORING_DURATION_MS = 24 * 60 * 60 * 1000; // 1 day
57
57
  class NativeVideoChunksBroadcaster {
58
+ _ee;
59
+ _log;
60
+ _publishers;
61
+ _terminated;
58
62
  constructor(ee, log) {
59
63
  this._ee = ee;
60
64
  this._log = log;
@@ -1 +1 @@
1
- {"version":3,"file":"native-record-screen.js","sourceRoot":"","sources":["../../../lib/commands/native-record-screen.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwLA,0EAaC;AAOD,8EAIC;AA6BD,wEA4DC;AAOD,8CAEC;AAlTD,oDAAuB;AACvB,qDAAyC;AACzC,0DAA6B;AAC7B,4CAA0C;AAE1C,uCAAgD;AAGhD,uCAA4C;AAC5C,+CAAoC;AACpC,gDAAmD;AACnD,0CAA6D;AAE7D,MAAM,4BAA4B,GAAG,IAAI,CAAC;AAC1C,MAAM,WAAW,GAAG,MAAM,CAAC;AAC3B,MAAM,+BAA+B,GAAG,IAAI,CAAC;AAC7C,MAAM,0BAA0B,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC,QAAQ;AAEhE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