appium-webdriveragent 16.16.5 → 16.17.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.
- package/CHANGELOG.md +14 -0
- package/WebDriverAgent.xcodeproj/project.pbxproj +12 -2
- package/WebDriverAgentLib/Categories/XCUIDevice+FBHelpers.h +6 -0
- package/WebDriverAgentLib/Categories/XCUIDevice+FBHelpers.m +5 -5
- package/WebDriverAgentLib/Commands/FBCustomCommands.m +8 -0
- package/WebDriverAgentLib/Info.plist +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,20 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [16.17.1](https://github.com/appium/appium-ios/compare/appium-webdriveragent@16.17.0...appium-webdriveragent@16.17.1) (2026-10-21)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **webdriveragent:** do not embed lib_TestingInterop.dylib on Xcode 26.0-26.3 ([#104](https://github.com/appium/appium-ios/issues/104)) ([a78d1fe](https://github.com/appium/appium-ios/commit/a78d1fee46b483613b2e659936b490573cfc81d6))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## [16.17.0](https://github.com/appium/appium-ios/compare/appium-webdriveragent@16.16.5...appium-webdriveragent@16.17.0) (2026-10-21)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **webdriveragent:** add route for retrieving pressButton values ([#102](https://github.com/appium/appium-ios/issues/102)) ([5b4eaaa](https://github.com/appium/appium-ios/commit/5b4eaaacc7b97d571ab269f98a4e23396be7bae1))
|
|
18
|
+
|
|
19
|
+
|
|
6
20
|
## [16.16.5](https://github.com/appium/appium-ios/compare/appium-webdriveragent@16.16.4...appium-webdriveragent@16.16.5) (2026-10-21)
|
|
7
21
|
|
|
8
22
|
### Code Refactoring
|
|
@@ -6240,12 +6240,17 @@
|
|
|
6240
6240
|
isa = XCBuildConfiguration;
|
|
6241
6241
|
baseConfigurationReference = EEE5CABF1C80361500CBBDD9 /* IOSSettings.xcconfig */;
|
|
6242
6242
|
buildSettings = {
|
|
6243
|
-
"EXCLUDED_SOURCE_FILE_NAMES[sdk=iphonesimulator*]" = "$(inherited) $(WDA_XCTEST_EXCLUDED_$(XCODE_VERSION_MAJOR))";
|
|
6243
|
+
"EXCLUDED_SOURCE_FILE_NAMES[sdk=iphonesimulator*]" = "$(inherited) $(WDA_XCTEST_EXCLUDED_$(XCODE_VERSION_MAJOR)) $(WDA_XCTEST_EXCLUDED_MINOR_$(XCODE_VERSION_MINOR))";
|
|
6244
6244
|
"EXCLUDED_SOURCE_FILE_NAMES[sdk=iphoneos*]" = "$(inherited) $(WDA_XCTEST_EXCLUDED_1600)";
|
|
6245
6245
|
/* Reuse Xcode 26 framework embedding; add only its missing dependencies. */
|
|
6246
6246
|
WDA_XCTEST_EXCLUDED_2600 = "XCTest.framework XCTestCore.framework XCUIAutomation.framework XCTAutomationSupport.framework Testing.framework ResultDataPublisher.framework XCTestSupport.framework libXCTestSwiftSupport.dylib";
|
|
6247
6247
|
/* Xcode 16 does not need the additional Swift Testing dependencies. */
|
|
6248
6248
|
WDA_XCTEST_EXCLUDED_1600 = "$(WDA_XCTEST_EXCLUDED_2600) lib_TestingInterop.dylib _Testing_Foundation.framework";
|
|
6249
|
+
/* Xcode 26.0-26.3 do not ship lib_TestingInterop.dylib, so there is nothing to embed. */
|
|
6250
|
+
WDA_XCTEST_EXCLUDED_MINOR_2600 = lib_TestingInterop.dylib;
|
|
6251
|
+
WDA_XCTEST_EXCLUDED_MINOR_2610 = lib_TestingInterop.dylib;
|
|
6252
|
+
WDA_XCTEST_EXCLUDED_MINOR_2620 = lib_TestingInterop.dylib;
|
|
6253
|
+
WDA_XCTEST_EXCLUDED_MINOR_2630 = lib_TestingInterop.dylib;
|
|
6249
6254
|
|
|
6250
6255
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
|
6251
6256
|
CLANG_STATIC_ANALYZER_MODE = deep;
|
|
@@ -6301,12 +6306,17 @@
|
|
|
6301
6306
|
isa = XCBuildConfiguration;
|
|
6302
6307
|
baseConfigurationReference = EEE5CABF1C80361500CBBDD9 /* IOSSettings.xcconfig */;
|
|
6303
6308
|
buildSettings = {
|
|
6304
|
-
"EXCLUDED_SOURCE_FILE_NAMES[sdk=iphonesimulator*]" = "$(inherited) $(WDA_XCTEST_EXCLUDED_$(XCODE_VERSION_MAJOR))";
|
|
6309
|
+
"EXCLUDED_SOURCE_FILE_NAMES[sdk=iphonesimulator*]" = "$(inherited) $(WDA_XCTEST_EXCLUDED_$(XCODE_VERSION_MAJOR)) $(WDA_XCTEST_EXCLUDED_MINOR_$(XCODE_VERSION_MINOR))";
|
|
6305
6310
|
"EXCLUDED_SOURCE_FILE_NAMES[sdk=iphoneos*]" = "$(inherited) $(WDA_XCTEST_EXCLUDED_1600)";
|
|
6306
6311
|
/* Reuse Xcode 26 framework embedding; add only its missing dependencies. */
|
|
6307
6312
|
WDA_XCTEST_EXCLUDED_2600 = "XCTest.framework XCTestCore.framework XCUIAutomation.framework XCTAutomationSupport.framework Testing.framework ResultDataPublisher.framework XCTestSupport.framework libXCTestSwiftSupport.dylib";
|
|
6308
6313
|
/* Xcode 16 does not need the additional Swift Testing dependencies. */
|
|
6309
6314
|
WDA_XCTEST_EXCLUDED_1600 = "$(WDA_XCTEST_EXCLUDED_2600) lib_TestingInterop.dylib _Testing_Foundation.framework";
|
|
6315
|
+
/* Xcode 26.0-26.3 do not ship lib_TestingInterop.dylib, so there is nothing to embed. */
|
|
6316
|
+
WDA_XCTEST_EXCLUDED_MINOR_2600 = lib_TestingInterop.dylib;
|
|
6317
|
+
WDA_XCTEST_EXCLUDED_MINOR_2610 = lib_TestingInterop.dylib;
|
|
6318
|
+
WDA_XCTEST_EXCLUDED_MINOR_2620 = lib_TestingInterop.dylib;
|
|
6319
|
+
WDA_XCTEST_EXCLUDED_MINOR_2630 = lib_TestingInterop.dylib;
|
|
6310
6320
|
|
|
6311
6321
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
|
6312
6322
|
CLANG_STATIC_ANALYZER_MODE = deep;
|
|
@@ -233,4 +233,10 @@ typedef NS_ENUM(NSUInteger, FBUIInterfaceAppearance) {
|
|
|
233
233
|
|
|
234
234
|
@end
|
|
235
235
|
|
|
236
|
+
/**
|
|
237
|
+
Returns the map of lowercase button names to their XCTest enum values
|
|
238
|
+
supported on the current platform (cached after the first call).
|
|
239
|
+
*/
|
|
240
|
+
extern NSDictionary<NSString *, NSNumber *> *FBAvailableButtonNames(void);
|
|
241
|
+
|
|
236
242
|
NS_ASSUME_NONNULL_END
|
|
@@ -33,7 +33,7 @@ static NSString *const FBClockFaceBundleId = @"com.apple.clockface";
|
|
|
33
33
|
#endif
|
|
34
34
|
|
|
35
35
|
#if TARGET_OS_TV
|
|
36
|
-
NSDictionary<NSString *, NSNumber *> *
|
|
36
|
+
NSDictionary<NSString *, NSNumber *> *FBAvailableButtonNames(void) {
|
|
37
37
|
static dispatch_once_t onceToken;
|
|
38
38
|
static NSDictionary *result;
|
|
39
39
|
dispatch_once(&onceToken, ^{
|
|
@@ -64,7 +64,7 @@ NSDictionary<NSString *, NSNumber *> *fb_availableButtonNames(void) {
|
|
|
64
64
|
return result;
|
|
65
65
|
}
|
|
66
66
|
#else
|
|
67
|
-
NSDictionary<NSString *, NSNumber *> *
|
|
67
|
+
NSDictionary<NSString *, NSNumber *> *FBAvailableButtonNames(void) {
|
|
68
68
|
static dispatch_once_t onceToken;
|
|
69
69
|
static NSDictionary *result;
|
|
70
70
|
dispatch_once(&onceToken, ^{
|
|
@@ -379,7 +379,7 @@ static bool fb_isLocked;
|
|
|
379
379
|
|
|
380
380
|
- (BOOL)fb_hasButton:(NSString *)buttonName
|
|
381
381
|
{
|
|
382
|
-
return
|
|
382
|
+
return FBAvailableButtonNames()[buttonName.lowercaseString] != nil;
|
|
383
383
|
}
|
|
384
384
|
|
|
385
385
|
- (BOOL)fb_pressButton:(NSString *)buttonName
|
|
@@ -390,7 +390,7 @@ static bool fb_isLocked;
|
|
|
390
390
|
return [self fb_pressButton:buttonName error:error];
|
|
391
391
|
#else
|
|
392
392
|
|
|
393
|
-
NSDictionary<NSString *, NSNumber *> *availableButtons =
|
|
393
|
+
NSDictionary<NSString *, NSNumber *> *availableButtons = FBAvailableButtonNames();
|
|
394
394
|
NSNumber *buttonValue = availableButtons[buttonName.lowercaseString];
|
|
395
395
|
|
|
396
396
|
if (!buttonValue) {
|
|
@@ -414,7 +414,7 @@ static bool fb_isLocked;
|
|
|
414
414
|
- (BOOL)fb_pressButton:(NSString *)buttonName
|
|
415
415
|
error:(NSError **)error
|
|
416
416
|
{
|
|
417
|
-
NSDictionary<NSString *, NSNumber *> *availableButtons =
|
|
417
|
+
NSDictionary<NSString *, NSNumber *> *availableButtons = FBAvailableButtonNames();
|
|
418
418
|
NSNumber *buttonValue = availableButtons[buttonName.lowercaseString];
|
|
419
419
|
|
|
420
420
|
if (!buttonValue) {
|
|
@@ -67,6 +67,8 @@
|
|
|
67
67
|
[[FBRoute GET:@"/wda/batteryInfo"] respondWithTarget:self action:@selector(handleGetBatteryInfo:)],
|
|
68
68
|
#endif
|
|
69
69
|
[[FBRoute POST:@"/wda/pressButton"] respondWithTarget:self action:@selector(handlePressButtonCommand:)],
|
|
70
|
+
[[FBRoute GET:@"/wda/pressableButtons"] respondWithTarget:self action:@selector(handleGetPressableButtons:)],
|
|
71
|
+
[[FBRoute GET:@"/wda/pressableButtons"].withoutSession respondWithTarget:self action:@selector(handleGetPressableButtons:)],
|
|
70
72
|
#if TARGET_OS_WATCH
|
|
71
73
|
[[FBRoute POST:@"/wda/rotateDigitalCrown"] respondWithTarget:self action:@selector(handleRotateDigitalCrownCommand:)],
|
|
72
74
|
[[FBRoute POST:@"/wda/performHandGesture"] respondWithTarget:self action:@selector(handlePerformHandGestureCommand:)],
|
|
@@ -352,6 +354,12 @@
|
|
|
352
354
|
return FBResponseWithOK();
|
|
353
355
|
}
|
|
354
356
|
|
|
357
|
+
+ (id<FBResponsePayload>)handleGetPressableButtons:(FBRouteRequest *)request
|
|
358
|
+
{
|
|
359
|
+
NSArray *xctestButtonNames = [FBAvailableButtonNames().allKeys sortedArrayUsingSelector:@selector(compare:)];
|
|
360
|
+
return FBResponseWithObject(@{@"xctest": xctestButtonNames});
|
|
361
|
+
}
|
|
362
|
+
|
|
355
363
|
#if TARGET_OS_WATCH
|
|
356
364
|
+ (id<FBResponsePayload>)handleRotateDigitalCrownCommand:(FBRouteRequest *)request
|
|
357
365
|
{
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
<key>CFBundlePackageType</key>
|
|
16
16
|
<string>FMWK</string>
|
|
17
17
|
<key>CFBundleShortVersionString</key>
|
|
18
|
-
<string>16.
|
|
18
|
+
<string>16.17.1</string>
|
|
19
19
|
<key>CFBundleSignature</key>
|
|
20
20
|
<string>????</string>
|
|
21
21
|
<key>CFBundleVersion</key>
|
|
22
|
-
<string>16.
|
|
22
|
+
<string>16.17.1</string>
|
|
23
23
|
<key>NSPrincipalClass</key>
|
|
24
24
|
<string/>
|
|
25
25
|
</dict>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appium-webdriveragent",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.17.1",
|
|
4
4
|
"description": "Package bundling WebDriverAgent",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Appium",
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
"node": "^20.19.0 || ^22.12.0 || >=24.0.0",
|
|
86
86
|
"npm": ">=10"
|
|
87
87
|
},
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "9dd1aa639f56e3b89c8011d7dd4cf5bb7e7fa2c6"
|
|
89
89
|
}
|