appium-webdriveragent 3.16.0 → 4.1.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/PrivateHeaders/XCTest/XCAXClient_iOS.h +0 -7
- package/PrivateHeaders/XCTest/XCAccessibilityElement.h +2 -0
- package/PrivateHeaders/XCTest/XCElementSnapshot.h +0 -7
- package/PrivateHeaders/XCTest/XCPointerEventPath.h +0 -2
- package/PrivateHeaders/XCTest/XCTestCaseRun.h +0 -2
- package/PrivateHeaders/XCTest/XCTestDriver.h +0 -6
- package/PrivateHeaders/XCTest/XCTestManager_ManagerInterface-Protocol.h +0 -2
- package/PrivateHeaders/XCTest/XCUIApplication.h +0 -3
- package/PrivateHeaders/XCTest/XCUIDevice.h +0 -2
- package/PrivateHeaders/XCTest/XCUIElement.h +0 -5
- package/PrivateHeaders/XCTest/XCUIElementQuery.h +0 -2
- package/README.md +6 -0
- package/Scripts/build-webdriveragent.js +1 -1
- package/Scripts/build.sh +7 -2
- package/Scripts/fetch-prebuilt-wda.js +1 -1
- package/WebDriverAgent.xcodeproj/project.pbxproj +10 -33
- package/WebDriverAgent.xcodeproj/xcshareddata/xcschemes/IntegrationApp.xcscheme +3 -7
- package/WebDriverAgent.xcodeproj/xcshareddata/xcschemes/IntegrationTests_1.xcscheme +1 -1
- package/WebDriverAgent.xcodeproj/xcshareddata/xcschemes/IntegrationTests_2.xcscheme +1 -1
- package/WebDriverAgent.xcodeproj/xcshareddata/xcschemes/IntegrationTests_3.xcscheme +1 -1
- package/WebDriverAgent.xcodeproj/xcshareddata/xcschemes/WebDriverAgentLib.xcscheme +10 -14
- package/WebDriverAgent.xcodeproj/xcshareddata/xcschemes/WebDriverAgentLib_tvOS.xcscheme +10 -14
- package/WebDriverAgent.xcodeproj/xcshareddata/xcschemes/WebDriverAgentRunner-nodebug.xcscheme +3 -7
- package/WebDriverAgent.xcodeproj/xcshareddata/xcschemes/WebDriverAgentRunner.xcscheme +1 -1
- package/WebDriverAgent.xcodeproj/xcshareddata/xcschemes/WebDriverAgentRunner_tvOS.xcscheme +1 -1
- package/WebDriverAgentLib/Categories/XCUIApplication+FBHelpers.h +0 -9
- package/WebDriverAgentLib/Categories/XCUIApplication+FBHelpers.m +0 -16
- package/WebDriverAgentLib/Categories/XCUIElement+FBSwiping.h +1 -2
- package/WebDriverAgentLib/Categories/XCUIElement+FBSwiping.m +1 -5
- package/WebDriverAgentLib/Categories/XCUIElement+FBUtilities.m +1 -7
- package/WebDriverAgentLib/Commands/FBAlertViewCommands.m +6 -6
- package/WebDriverAgentLib/Commands/FBCustomCommands.m +1 -5
- package/WebDriverAgentLib/FBAlert.m +1 -0
- package/WebDriverAgentLib/FBApplication.m +1 -12
- package/WebDriverAgentLib/Utilities/FBFailureProofTestCase.m +7 -10
- package/WebDriverAgentLib/Utilities/FBScreen.m +3 -1
- package/WebDriverAgentLib/Utilities/FBW3CActionsSynthesizer.m +4 -16
- package/WebDriverAgentLib/Utilities/FBXCAXClientProxy.h +0 -2
- package/WebDriverAgentLib/Utilities/FBXCAXClientProxy.m +15 -37
- package/WebDriverAgentLib/Utilities/FBXCTestDaemonsProxy.m +4 -15
- package/WebDriverAgentLib/Utilities/FBXCodeCompatibility.h +0 -17
- package/WebDriverAgentLib/Utilities/FBXCodeCompatibility.m +1 -55
- package/WebDriverAgentRunner-Runner.app.zip +0 -0
- package/WebDriverAgentTests/IntegrationTests/FBAlertTests.m +5 -0
- package/WebDriverAgentTests/IntegrationTests/FBAppiumMultiTouchActionsIntegrationTests.m +7 -0
- package/WebDriverAgentTests/IntegrationTests/FBAppiumTouchActionsIntegrationTests.m +19 -0
- package/WebDriverAgentTests/IntegrationTests/FBElementScreenshotTests.m +4 -0
- package/WebDriverAgentTests/IntegrationTests/FBElementSwipingTests.m +71 -6
- package/WebDriverAgentTests/IntegrationTests/FBElementVisibilityTests.m +3 -1
- package/WebDriverAgentTests/IntegrationTests/FBForceTouchTests.m +6 -0
- package/WebDriverAgentTests/IntegrationTests/FBIntegrationTestCase.m +2 -1
- package/WebDriverAgentTests/IntegrationTests/FBKeyboardTests.m +19 -0
- package/WebDriverAgentTests/IntegrationTests/FBW3CTouchActionsIntegrationTests.m +15 -0
- package/WebDriverAgentTests/IntegrationTests/XCUIApplicationHelperTests.m +1 -1
- package/WebDriverAgentTests/IntegrationTests/XCUIElementFBFindTests.m +1 -1
- package/build/index.js +6 -6
- package/build/lib/check-dependencies.js +4 -4
- package/build/lib/constants.js +2 -4
- package/build/lib/logger.js +3 -3
- package/build/lib/no-session-proxy.js +3 -3
- package/build/lib/utils.js +25 -25
- package/build/lib/webdriveragent.js +17 -17
- package/build/lib/xcodebuild.js +5 -5
- package/index.js +2 -2
- package/lib/check-dependencies.js +1 -1
- package/lib/constants.js +1 -2
- package/lib/logger.js +1 -1
- package/lib/no-session-proxy.js +1 -1
- package/lib/utils.js +1 -1
- package/lib/webdriveragent.js +2 -2
- package/lib/xcodebuild.js +1 -1
- package/package.json +13 -12
- package/PrivateHeaders/.DS_Store +0 -0
- package/WebDriverAgent.xcodeproj/project.xcworkspace/xcuserdata/elf.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/WebDriverAgent.xcodeproj/xcuserdata/elf.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +0 -91
- package/WebDriverAgent.xcodeproj/xcuserdata/elf.xcuserdatad/xcschemes/xcschememanagement.plist +0 -59
- package/WebDriverAgentLib/.DS_Store +0 -0
- package/WebDriverAgentLib/Utilities/LRUCache/.DS_Store +0 -0
- package/WebDriverAgentLib/Vendor/.DS_Store +0 -0
- package/WebDriverAgentRunner/.DS_Store +0 -0
- package/WebDriverAgentTests/IntegrationApp/Resources/.DS_Store +0 -0
package/lib/xcodebuild.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { retryInterval } from 'asyncbox';
|
|
2
2
|
import { SubProcess, exec } from 'teen_process';
|
|
3
|
-
import { fs, logger, timing } from 'appium
|
|
3
|
+
import { fs, logger, timing } from '@appium/support';
|
|
4
4
|
import log from './logger';
|
|
5
5
|
import B from 'bluebird';
|
|
6
6
|
import {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appium-webdriveragent",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.1.4",
|
|
4
4
|
"description": "Package bundling WebDriverAgent",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -43,32 +43,33 @@
|
|
|
43
43
|
},
|
|
44
44
|
"homepage": "https://github.com/appium/WebDriverAgent#readme",
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"appium
|
|
47
|
-
"appium-
|
|
48
|
-
"appium-
|
|
46
|
+
"@appium/gulp-plugins": "^6.0.0",
|
|
47
|
+
"@appium/eslint-config-appium": "^5.0.0",
|
|
48
|
+
"@appium/test-support": "^1.0.0",
|
|
49
|
+
"@semantic-release/git": "^10.0.1",
|
|
50
|
+
"appium-xcode": "^4.0.0",
|
|
49
51
|
"chai": "^4.2.0",
|
|
50
52
|
"chai-as-promised": "^7.1.1",
|
|
51
|
-
"eslint-config-appium": "^4.0.1",
|
|
52
53
|
"glob": "^7.1.0",
|
|
53
54
|
"gulp": "^4.0.2",
|
|
54
55
|
"ios-uicatalog": "^3.5.0",
|
|
55
56
|
"mocha": "^9.0.0",
|
|
56
57
|
"pre-commit": "^1.2.2",
|
|
57
|
-
"
|
|
58
|
-
"
|
|
58
|
+
"semantic-release": "^19.0.2",
|
|
59
|
+
"sinon": "^13.0.0"
|
|
59
60
|
},
|
|
60
61
|
"dependencies": {
|
|
62
|
+
"@appium/base-driver": "^8.0.0",
|
|
63
|
+
"@appium/support": "^2.55.3",
|
|
61
64
|
"@babel/runtime": "^7.0.0",
|
|
62
|
-
"appium-
|
|
63
|
-
"appium-ios-simulator": "^3.14.0",
|
|
64
|
-
"appium-support": "^2.46.0",
|
|
65
|
+
"appium-ios-simulator": "^4.0.0",
|
|
65
66
|
"async-lock": "^1.0.0",
|
|
66
67
|
"asyncbox": "^2.5.3",
|
|
67
68
|
"axios": "^0.x",
|
|
68
69
|
"bluebird": "^3.5.5",
|
|
69
70
|
"lodash": "^4.17.11",
|
|
70
|
-
"node-simctl": "^
|
|
71
|
-
"source-map-support": "^0.
|
|
71
|
+
"node-simctl": "^7.0.1",
|
|
72
|
+
"source-map-support": "^0.x",
|
|
72
73
|
"teen_process": "^1.14.1"
|
|
73
74
|
},
|
|
74
75
|
"files": [
|
package/PrivateHeaders/.DS_Store
DELETED
|
Binary file
|
|
Binary file
|
package/WebDriverAgent.xcodeproj/xcuserdata/elf.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<Bucket
|
|
3
|
-
uuid = "2F0174F2-ED3F-4D11-9A17-7C590053D796"
|
|
4
|
-
type = "1"
|
|
5
|
-
version = "2.0">
|
|
6
|
-
<Breakpoints>
|
|
7
|
-
<BreakpointProxy
|
|
8
|
-
BreakpointExtensionID = "Xcode.Breakpoint.ExceptionBreakpoint">
|
|
9
|
-
<BreakpointContent
|
|
10
|
-
uuid = "471ECA8C-2C53-4C59-88DB-1C1CB3D61601"
|
|
11
|
-
shouldBeEnabled = "No"
|
|
12
|
-
ignoreCount = "0"
|
|
13
|
-
continueAfterRunningActions = "No"
|
|
14
|
-
breakpointStackSelectionBehavior = "1"
|
|
15
|
-
scope = "1"
|
|
16
|
-
stopOnStyle = "0">
|
|
17
|
-
</BreakpointContent>
|
|
18
|
-
</BreakpointProxy>
|
|
19
|
-
<BreakpointProxy
|
|
20
|
-
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
|
21
|
-
<BreakpointContent
|
|
22
|
-
uuid = "C2E06865-6A52-4686-9771-279AF13ABF8A"
|
|
23
|
-
shouldBeEnabled = "Yes"
|
|
24
|
-
ignoreCount = "0"
|
|
25
|
-
continueAfterRunningActions = "No"
|
|
26
|
-
filePath = "WebDriverAgentLib/Categories/XCUIElement+FBUtilities.m"
|
|
27
|
-
timestampString = "0"
|
|
28
|
-
startingColumnNumber = "9223372036854775807"
|
|
29
|
-
endingColumnNumber = "9223372036854775807"
|
|
30
|
-
startingLineNumber = "264"
|
|
31
|
-
endingLineNumber = "264">
|
|
32
|
-
</BreakpointContent>
|
|
33
|
-
</BreakpointProxy>
|
|
34
|
-
<BreakpointProxy
|
|
35
|
-
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
|
36
|
-
<BreakpointContent
|
|
37
|
-
uuid = "54216FE6-E240-47F1-88D3-D450CF0AF44E"
|
|
38
|
-
shouldBeEnabled = "Yes"
|
|
39
|
-
ignoreCount = "0"
|
|
40
|
-
continueAfterRunningActions = "No"
|
|
41
|
-
filePath = "WebDriverAgentLib/Categories/XCUIElement+FBResolve.m"
|
|
42
|
-
startingColumnNumber = "9223372036854775807"
|
|
43
|
-
endingColumnNumber = "9223372036854775807"
|
|
44
|
-
startingLineNumber = "37"
|
|
45
|
-
endingLineNumber = "37"
|
|
46
|
-
landmarkName = "-fb_stableInstance"
|
|
47
|
-
landmarkType = "7">
|
|
48
|
-
<Locations>
|
|
49
|
-
<Location
|
|
50
|
-
uuid = "54216FE6-E240-47F1-88D3-D450CF0AF44E - b09f4ce1ce926e6"
|
|
51
|
-
shouldBeEnabled = "Yes"
|
|
52
|
-
ignoreCount = "0"
|
|
53
|
-
continueAfterRunningActions = "No"
|
|
54
|
-
symbolName = "-[XCUIElement(FBResolve) fb_stableInstance]"
|
|
55
|
-
moduleName = "WebDriverAgentLib"
|
|
56
|
-
usesParentBreakpointCondition = "Yes"
|
|
57
|
-
urlString = "file:///Users/elf/code/WebDriverAgent/WebDriverAgentLib/Categories/XCUIElement+FBResolve.m"
|
|
58
|
-
startingColumnNumber = "9223372036854775807"
|
|
59
|
-
endingColumnNumber = "9223372036854775807"
|
|
60
|
-
startingLineNumber = "37"
|
|
61
|
-
endingLineNumber = "37"
|
|
62
|
-
offsetFromSymbolStart = "19">
|
|
63
|
-
</Location>
|
|
64
|
-
<Location
|
|
65
|
-
shouldBeEnabled = "Yes"
|
|
66
|
-
ignoreCount = "0"
|
|
67
|
-
continueAfterRunningActions = "No"
|
|
68
|
-
usesParentBreakpointCondition = "Yes"
|
|
69
|
-
offsetFromSymbolStart = "0">
|
|
70
|
-
</Location>
|
|
71
|
-
</Locations>
|
|
72
|
-
</BreakpointContent>
|
|
73
|
-
</BreakpointProxy>
|
|
74
|
-
<BreakpointProxy
|
|
75
|
-
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
|
76
|
-
<BreakpointContent
|
|
77
|
-
uuid = "D3009B57-42BC-4905-99BC-70232544FAFB"
|
|
78
|
-
shouldBeEnabled = "Yes"
|
|
79
|
-
ignoreCount = "0"
|
|
80
|
-
continueAfterRunningActions = "No"
|
|
81
|
-
filePath = "WebDriverAgentTests/IntegrationTests/FBAlertTests.m"
|
|
82
|
-
startingColumnNumber = "5"
|
|
83
|
-
endingColumnNumber = "64"
|
|
84
|
-
startingLineNumber = "32"
|
|
85
|
-
endingLineNumber = "32"
|
|
86
|
-
landmarkName = "-setUp"
|
|
87
|
-
landmarkType = "7">
|
|
88
|
-
</BreakpointContent>
|
|
89
|
-
</BreakpointProxy>
|
|
90
|
-
</Breakpoints>
|
|
91
|
-
</Bucket>
|
package/WebDriverAgent.xcodeproj/xcuserdata/elf.xcuserdatad/xcschemes/xcschememanagement.plist
DELETED
|
@@ -1,59 +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>SchemeUserState</key>
|
|
6
|
-
<dict>
|
|
7
|
-
<key>IntegrationApp.xcscheme_^#shared#^_</key>
|
|
8
|
-
<dict>
|
|
9
|
-
<key>orderHint</key>
|
|
10
|
-
<integer>0</integer>
|
|
11
|
-
</dict>
|
|
12
|
-
<key>IntegrationTests_1.xcscheme_^#shared#^_</key>
|
|
13
|
-
<dict>
|
|
14
|
-
<key>orderHint</key>
|
|
15
|
-
<integer>1</integer>
|
|
16
|
-
</dict>
|
|
17
|
-
<key>IntegrationTests_2.xcscheme_^#shared#^_</key>
|
|
18
|
-
<dict>
|
|
19
|
-
<key>orderHint</key>
|
|
20
|
-
<integer>2</integer>
|
|
21
|
-
</dict>
|
|
22
|
-
<key>IntegrationTests_3.xcscheme_^#shared#^_</key>
|
|
23
|
-
<dict>
|
|
24
|
-
<key>orderHint</key>
|
|
25
|
-
<integer>3</integer>
|
|
26
|
-
</dict>
|
|
27
|
-
<key>WebDriverAgentLib copy.xcscheme_^#shared#^_</key>
|
|
28
|
-
<dict>
|
|
29
|
-
<key>orderHint</key>
|
|
30
|
-
<integer>9</integer>
|
|
31
|
-
</dict>
|
|
32
|
-
<key>WebDriverAgentLib.xcscheme_^#shared#^_</key>
|
|
33
|
-
<dict>
|
|
34
|
-
<key>orderHint</key>
|
|
35
|
-
<integer>4</integer>
|
|
36
|
-
</dict>
|
|
37
|
-
<key>WebDriverAgentLib_tvOS.xcscheme_^#shared#^_</key>
|
|
38
|
-
<dict>
|
|
39
|
-
<key>orderHint</key>
|
|
40
|
-
<integer>5</integer>
|
|
41
|
-
</dict>
|
|
42
|
-
<key>WebDriverAgentRunner-nodebug.xcscheme_^#shared#^_</key>
|
|
43
|
-
<dict>
|
|
44
|
-
<key>orderHint</key>
|
|
45
|
-
<integer>7</integer>
|
|
46
|
-
</dict>
|
|
47
|
-
<key>WebDriverAgentRunner.xcscheme_^#shared#^_</key>
|
|
48
|
-
<dict>
|
|
49
|
-
<key>orderHint</key>
|
|
50
|
-
<integer>6</integer>
|
|
51
|
-
</dict>
|
|
52
|
-
<key>WebDriverAgentRunner_tvOS.xcscheme_^#shared#^_</key>
|
|
53
|
-
<dict>
|
|
54
|
-
<key>orderHint</key>
|
|
55
|
-
<integer>8</integer>
|
|
56
|
-
</dict>
|
|
57
|
-
</dict>
|
|
58
|
-
</dict>
|
|
59
|
-
</plist>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|