appium-webdriveragent 4.1.0 → 4.1.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/README.md +6 -0
- package/Scripts/build.sh +7 -2
- package/WebDriverAgentLib/Utilities/FBW3CActionsSynthesizer.m +1 -15
- package/WebDriverAgentRunner-Runner.app.zip +0 -0
- package/package.json +3 -1
- package/WebDriverAgent.xcodeproj/project.xcworkspace/xcuserdata/kazuaki.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/WebDriverAgent.xcodeproj/project.xcworkspace/xcuserdata/kazuaki.xcuserdatad/WorkspaceSettings.xcsettings +0 -20
- package/WebDriverAgent.xcodeproj/xcuserdata/kazuaki.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +0 -3032
- package/WebDriverAgent.xcodeproj/xcuserdata/kazuaki.xcuserdatad/xcschemes/xcschememanagement.plist +0 -82
package/README.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# WebDriverAgent
|
|
2
2
|
|
|
3
|
+
[](https://npmjs.org/package/appium-webdriveragent)
|
|
4
|
+
[](https://npmjs.org/package/appium-webdriveragent)
|
|
5
|
+
|
|
6
|
+
[](https://github.com/appium/WebDriverAgent/actions/workflows/publish.js.yml)
|
|
7
|
+
|
|
3
8
|
[](LICENSE)
|
|
4
9
|
|
|
5
10
|
WebDriverAgent is a [WebDriver server](https://w3c.github.io/webdriver/webdriver-spec.html) implementation for iOS that can be used to remote control iOS devices. It allows you to launch & kill applications, tap & scroll views or confirm view presence on a screen. This makes it a perfect tool for application end-to-end testing or general purpose device automation. It works by linking `XCTest.framework` and calling Apple's API to execute commands directly on a device. WebDriverAgent is developed for end-to-end testing and is successfully adopted by [Appium](http://appium.io) via [XCUITest driver](https://github.com/appium/appium-xcuitest-driver).
|
|
@@ -46,3 +51,4 @@ projects has been integrated directly in the WebDriverAgent source tree.
|
|
|
46
51
|
You can find the source files and their licenses in the `WebDriverAgentLib/Vendor` directory.
|
|
47
52
|
|
|
48
53
|
Have fun!
|
|
54
|
+
|
package/Scripts/build.sh
CHANGED
|
@@ -86,10 +86,15 @@ function xcbuild() {
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
function fastlane_test() {
|
|
89
|
+
if ! command -v fastlane $> /dev/null ; then
|
|
90
|
+
echo "Please install fastlane with 'gem install fastlane' or 'bundle install'"
|
|
91
|
+
exit 1
|
|
92
|
+
fi
|
|
93
|
+
|
|
89
94
|
if [[ -n "$XC_DESTINATION" ]]; then
|
|
90
|
-
SDK="$XC_SDK" DEST="$XC_DESTINATION" SCHEME="$1"
|
|
95
|
+
SDK="$XC_SDK" DEST="$XC_DESTINATION" SCHEME="$1" fastlane test
|
|
91
96
|
else
|
|
92
|
-
SDK="$XC_SDK" SCHEME="$1"
|
|
97
|
+
SDK="$XC_SDK" SCHEME="$1" fastlane test
|
|
93
98
|
fi
|
|
94
99
|
}
|
|
95
100
|
|
|
@@ -317,21 +317,7 @@ static NSString *const FB_KEY_ACTIONS = @"actions";
|
|
|
317
317
|
currentItemIndex:(NSUInteger)currentItemIndex
|
|
318
318
|
error:(NSError **)error
|
|
319
319
|
{
|
|
320
|
-
|
|
321
|
-
if (0 == currentItemIndex) {
|
|
322
|
-
return @[];
|
|
323
|
-
}
|
|
324
|
-
FBBaseGestureItem *preceedingItem = [allItems objectAtIndex:currentItemIndex - 1];
|
|
325
|
-
if (![preceedingItem isKindOfClass:FBPointerUpItem.class] && currentItemIndex < allItems.count - 1) {
|
|
326
|
-
return @[];
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
NSTimeInterval currentOffset = FBMillisToSeconds(self.offset + self.duration);
|
|
330
|
-
XCPointerEventPath *result = [[XCPointerEventPath alloc] initForTouchAtPoint:self.atPosition offset:currentOffset];
|
|
331
|
-
if (currentItemIndex == allItems.count - 1) {
|
|
332
|
-
[result liftUpAtOffset:currentOffset];
|
|
333
|
-
}
|
|
334
|
-
return @[result];
|
|
320
|
+
return @[];
|
|
335
321
|
}
|
|
336
322
|
|
|
337
323
|
@end
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appium-webdriveragent",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.5",
|
|
4
4
|
"description": "Package bundling WebDriverAgent",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
"@appium/gulp-plugins": "^6.0.0",
|
|
47
47
|
"@appium/eslint-config-appium": "^5.0.0",
|
|
48
48
|
"@appium/test-support": "^1.0.0",
|
|
49
|
+
"@semantic-release/git": "^10.0.1",
|
|
49
50
|
"appium-xcode": "^4.0.0",
|
|
50
51
|
"chai": "^4.2.0",
|
|
51
52
|
"chai-as-promised": "^7.1.1",
|
|
@@ -54,6 +55,7 @@
|
|
|
54
55
|
"ios-uicatalog": "^3.5.0",
|
|
55
56
|
"mocha": "^9.0.0",
|
|
56
57
|
"pre-commit": "^1.2.2",
|
|
58
|
+
"semantic-release": "^19.0.2",
|
|
57
59
|
"sinon": "^13.0.0"
|
|
58
60
|
},
|
|
59
61
|
"dependencies": {
|
|
Binary file
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
-
<plist version="1.0">
|
|
4
|
-
<dict>
|
|
5
|
-
<key>BuildLocationStyle</key>
|
|
6
|
-
<string>UseAppPreferences</string>
|
|
7
|
-
<key>CustomBuildLocationType</key>
|
|
8
|
-
<string>RelativeToDerivedData</string>
|
|
9
|
-
<key>DerivedDataLocationStyle</key>
|
|
10
|
-
<string>Default</string>
|
|
11
|
-
<key>EnabledFullIndexStoreVisibility</key>
|
|
12
|
-
<false/>
|
|
13
|
-
<key>IssueFilterStyle</key>
|
|
14
|
-
<string>ShowActiveSchemeOnly</string>
|
|
15
|
-
<key>LiveSourceIssuesEnabled</key>
|
|
16
|
-
<true/>
|
|
17
|
-
<key>ShowSharedSchemesAutomaticallyEnabled</key>
|
|
18
|
-
<true/>
|
|
19
|
-
</dict>
|
|
20
|
-
</plist>
|