appium-webdriveragent 4.10.4 → 4.10.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,5 @@
1
+ ## [4.10.5](https://github.com/appium/WebDriverAgent/compare/v4.10.4...v4.10.5) (2022-11-22)
2
+
1
3
  ## [4.10.4](https://github.com/appium/WebDriverAgent/compare/v4.10.3...v4.10.4) (2022-11-22)
2
4
 
3
5
  ## [4.10.3](https://github.com/appium/WebDriverAgent/compare/v4.10.2...v4.10.3) (2022-11-22)
@@ -122,7 +122,7 @@ static NSString *const OBJC_PROP_ATTRIBS_SEPARATOR = @",";
122
122
  }
123
123
  attributeNamesMapping = resultCache.copy;
124
124
  });
125
- return attributeNamesMapping.copy;
125
+ return attributeNamesMapping;
126
126
  }
127
127
 
128
128
  + (NSString *)uidWithAccessibilityElement:(id<FBXCAccessibilityElement>)element
@@ -93,6 +93,13 @@
93
93
  return self.snapshot.selected;
94
94
  }
95
95
 
96
+ #if !TARGET_OS_OSX
97
+ - (BOOL)hasFocus
98
+ {
99
+ return self.snapshot.hasFocus;
100
+ }
101
+ #endif
102
+
96
103
  - (id)forwardingTargetForSelector:(SEL)aSelector
97
104
  {
98
105
  static dispatch_once_t onceToken;
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appium-webdriveragent",
3
- "version": "4.10.4",
3
+ "version": "4.10.5",
4
4
  "description": "Package bundling WebDriverAgent",
5
5
  "main": "./build/index.js",
6
6
  "scripts": {