appium-webdriveragent 8.9.2 → 8.9.4
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/Configurations/IOSSettings.xcconfig +1 -1
- package/Configurations/TVOSSettings.xcconfig +1 -1
- package/WebDriverAgentLib/Info.plist +2 -2
- package/WebDriverAgentLib/Routing/FBSession.m +6 -1
- package/WebDriverAgentLib/Utilities/FBConfiguration.h +0 -4
- package/WebDriverAgentLib/Utilities/FBConfiguration.m +4 -0
- package/package.json +1 -1
- package/WebDriverAgentLib/Utilities/FBBaseActionsParser.m +0 -32
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## [8.9.4](https://github.com/appium/WebDriverAgent/compare/v8.9.3...v8.9.4) (2024-10-17)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* Consider transient overlay windows when respectSystemAlerts is enabled ([#946](https://github.com/appium/WebDriverAgent/issues/946)) ([f0bdce7](https://github.com/appium/WebDriverAgent/commit/f0bdce7eb8fdb13d2309d28e936950c77f006b20))
|
|
6
|
+
|
|
7
|
+
## [8.9.3](https://github.com/appium/WebDriverAgent/compare/v8.9.2...v8.9.3) (2024-10-07)
|
|
8
|
+
|
|
9
|
+
### Miscellaneous Chores
|
|
10
|
+
|
|
11
|
+
* remove unused FBBaseActionsParser and cleanup imports in FBConfiguration ([#943](https://github.com/appium/WebDriverAgent/issues/943)) ([a2173d0](https://github.com/appium/WebDriverAgent/commit/a2173d05df8ef831310e805a8e6a8a8d17725201))
|
|
12
|
+
|
|
1
13
|
## [8.9.2](https://github.com/appium/WebDriverAgent/compare/v8.9.1...v8.9.2) (2024-09-13)
|
|
2
14
|
|
|
3
15
|
### Miscellaneous Chores
|
|
@@ -28,4 +28,4 @@ RUN_CLANG_STATIC_ANALYZER = YES
|
|
|
28
28
|
|
|
29
29
|
GCC_PREPROCESSOR_DEFINITIONS = $(inherited)
|
|
30
30
|
|
|
31
|
-
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
|
|
31
|
+
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 -Wno-declaration-after-statement -Wno-objc-messaging-id -Wno-direct-ivar-access -Wno-cast-qual -Wno-deprecated-declarations
|
|
@@ -28,4 +28,4 @@ RUN_CLANG_STATIC_ANALYZER = YES
|
|
|
28
28
|
|
|
29
29
|
GCC_PREPROCESSOR_DEFINITIONS = $(inherited)
|
|
30
30
|
|
|
31
|
-
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
|
|
31
|
+
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 -Wno-declaration-after-statement -Wno-objc-messaging-id -Wno-direct-ivar-access -Wno-cast-qual -Wno-deprecated-declarations
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
<key>CFBundlePackageType</key>
|
|
16
16
|
<string>FMWK</string>
|
|
17
17
|
<key>CFBundleShortVersionString</key>
|
|
18
|
-
<string>8.9.
|
|
18
|
+
<string>8.9.4</string>
|
|
19
19
|
<key>CFBundleSignature</key>
|
|
20
20
|
<string>????</string>
|
|
21
21
|
<key>CFBundleVersion</key>
|
|
22
|
-
<string>8.9.
|
|
22
|
+
<string>8.9.4</string>
|
|
23
23
|
<key>NSPrincipalClass</key>
|
|
24
24
|
<string/>
|
|
25
25
|
</dict>
|
|
@@ -178,8 +178,13 @@ static FBSession *_activeSession = nil;
|
|
|
178
178
|
if (nil != self.testedApplication) {
|
|
179
179
|
XCUIApplicationState testedAppState = self.testedApplication.state;
|
|
180
180
|
if (testedAppState >= XCUIApplicationStateRunningForeground) {
|
|
181
|
+
// We look for `SBTransientOverlayWindow` elements for half modals. See https://github.com/appium/WebDriverAgent/pull/946
|
|
182
|
+
NSPredicate *searchPredicate = [NSPredicate predicateWithFormat:@"%K == %@ OR %K == %@",
|
|
183
|
+
@"elementType", @(XCUIElementTypeAlert),
|
|
184
|
+
@"identifier", @"SBTransientOverlayWindow"];
|
|
181
185
|
if ([FBConfiguration shouldRespectSystemAlerts]
|
|
182
|
-
&& [XCUIApplication.fb_systemApplication descendantsMatchingType:
|
|
186
|
+
&& [[XCUIApplication.fb_systemApplication descendantsMatchingType:XCUIElementTypeAny]
|
|
187
|
+
matchingPredicate:searchPredicate].count > 0) {
|
|
183
188
|
return XCUIApplication.fb_systemApplication;
|
|
184
189
|
}
|
|
185
190
|
return (XCUIApplication *)self.testedApplication;
|
package/package.json
CHANGED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2015-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the BSD-style license found in the
|
|
6
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
7
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
#import "FBBaseActionsSynthesizer.h"
|
|
11
|
-
|
|
12
|
-
#import "FBErrorBuilder.h"
|
|
13
|
-
|
|
14
|
-
@implementation FBBaseActionsSynthesizer
|
|
15
|
-
|
|
16
|
-
- (instancetype)initWithActions:(NSArray *)actions forApplication:(XCUIApplication *)application
|
|
17
|
-
{
|
|
18
|
-
self = [super init];
|
|
19
|
-
if (self) {
|
|
20
|
-
_actions = actions;
|
|
21
|
-
_application = application;
|
|
22
|
-
}
|
|
23
|
-
return self;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
- (nullable XCSynthesizedEventRecord *)synthesizeWithError:(NSError **)error
|
|
27
|
-
{
|
|
28
|
-
@throw [[FBErrorBuilder.builder withDescription:@"Override this method in subclasses"] build];
|
|
29
|
-
return nil;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
@end
|