appium-webdriveragent 9.15.0 → 9.15.2
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 +12 -0
- package/WebDriverAgentLib/Categories/XCUIApplication+FBHelpers.m +4 -10
- package/WebDriverAgentLib/Info.plist +2 -2
- package/WebDriverAgentLib/Utilities/FBScreenshot.m +1 -1
- package/WebDriverAgentTests/IntegrationTests/XCUIDeviceHelperTests.m +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## [9.15.2](https://github.com/appium/WebDriverAgent/compare/v9.15.1...v9.15.2) (2025-08-04)
|
|
2
|
+
|
|
3
|
+
### Miscellaneous Chores
|
|
4
|
+
|
|
5
|
+
* bump appium-ios-device to 2.9.0 ([#1047](https://github.com/appium/WebDriverAgent/issues/1047)) ([305019d](https://github.com/appium/WebDriverAgent/commit/305019d4dde89853e44c58170e17ec23c89de2f3))
|
|
6
|
+
|
|
7
|
+
## [9.15.1](https://github.com/appium/WebDriverAgent/compare/v9.15.0...v9.15.1) (2025-07-17)
|
|
8
|
+
|
|
9
|
+
### Miscellaneous Chores
|
|
10
|
+
|
|
11
|
+
* Remove the redundant check after activating the system app ([#1043](https://github.com/appium/WebDriverAgent/issues/1043)) ([33ccba1](https://github.com/appium/WebDriverAgent/commit/33ccba1ab3bc2980349f8553fd30aa5b08141b6b))
|
|
12
|
+
|
|
1
13
|
## [9.15.0](https://github.com/appium/WebDriverAgent/compare/v9.14.6...v9.15.0) (2025-07-10)
|
|
2
14
|
|
|
3
15
|
### Features
|
|
@@ -621,23 +621,17 @@ NSDictionary<NSString *, NSString *> *customExclusionAttributesMap(void) {
|
|
|
621
621
|
{
|
|
622
622
|
XCUIApplication *systemApp = self.fb_systemApplication;
|
|
623
623
|
@try {
|
|
624
|
-
if (
|
|
625
|
-
[systemApp launch];
|
|
626
|
-
} else {
|
|
624
|
+
if (systemApp.running) {
|
|
627
625
|
[systemApp activate];
|
|
626
|
+
} else {
|
|
627
|
+
[systemApp launch];
|
|
628
628
|
}
|
|
629
629
|
} @catch (NSException *e) {
|
|
630
630
|
return [[[FBErrorBuilder alloc]
|
|
631
631
|
withDescription:nil == e ? @"Cannot open the home screen" : e.reason]
|
|
632
632
|
buildError:error];
|
|
633
633
|
}
|
|
634
|
-
return
|
|
635
|
-
timeout:5]
|
|
636
|
-
timeoutErrorMessage:@"Timeout waiting until the home screen is visible"]
|
|
637
|
-
spinUntilTrue:^BOOL{
|
|
638
|
-
return [systemApp fb_isSameAppAs:self.fb_activeApplication];
|
|
639
|
-
}
|
|
640
|
-
error:error];
|
|
634
|
+
return YES;
|
|
641
635
|
}
|
|
642
636
|
|
|
643
637
|
- (BOOL)fb_isSameAppAs:(nullable XCUIApplication *)otherApp
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
<key>CFBundlePackageType</key>
|
|
16
16
|
<string>FMWK</string>
|
|
17
17
|
<key>CFBundleShortVersionString</key>
|
|
18
|
-
<string>9.15.
|
|
18
|
+
<string>9.15.2</string>
|
|
19
19
|
<key>CFBundleSignature</key>
|
|
20
20
|
<string>????</string>
|
|
21
21
|
<key>CFBundleVersion</key>
|
|
22
|
-
<string>9.15.
|
|
22
|
+
<string>9.15.2</string>
|
|
23
23
|
<key>NSPrincipalClass</key>
|
|
24
24
|
<string/>
|
|
25
25
|
</dict>
|
|
@@ -28,7 +28,7 @@ static const CGFloat LOW_QUALITY = 0.25;
|
|
|
28
28
|
|
|
29
29
|
NSString *formatTimeInterval(NSTimeInterval interval) {
|
|
30
30
|
NSUInteger milliseconds = (NSUInteger)(interval * 1000);
|
|
31
|
-
return [NSString stringWithFormat:@"%
|
|
31
|
+
return [NSString stringWithFormat:@"%lu ms", milliseconds];
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
@implementation FBScreenshot
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
NSError *error;
|
|
103
103
|
XCTAssertTrue([[XCUIDevice sharedDevice] fb_goToHomescreenWithError:&error]);
|
|
104
104
|
XCTAssertNil(error);
|
|
105
|
-
|
|
105
|
+
FBAssertWaitTillBecomesTrue([XCUIApplication fb_activeApplication].icons[@"Safari"].exists);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
- (void)testLockUnlockScreen
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appium-webdriveragent",
|
|
3
|
-
"version": "9.15.
|
|
3
|
+
"version": "9.15.2",
|
|
4
4
|
"description": "Package bundling WebDriverAgent",
|
|
5
5
|
"main": "./build/index.js",
|
|
6
6
|
"types": "./build/index.d.ts",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"@appium/base-driver": "^9.0.0",
|
|
77
77
|
"@appium/strongbox": "^0.x",
|
|
78
78
|
"@appium/support": "^6.0.0",
|
|
79
|
-
"appium-ios-device": "^2.
|
|
79
|
+
"appium-ios-device": "^2.9.0",
|
|
80
80
|
"appium-ios-simulator": "^6.2.2",
|
|
81
81
|
"async-lock": "^1.0.0",
|
|
82
82
|
"asyncbox": "^3.0.0",
|