appium-webdriveragent 10.5.4 → 11.0.0

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.
Files changed (69) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/Scripts/{build-webdriveragent.js → build-webdriveragent.mjs} +13 -7
  3. package/Scripts/{fetch-prebuilt-wda.js → fetch-prebuilt-wda.mjs} +17 -9
  4. package/Scripts/update-wda-version.mjs +42 -0
  5. package/WebDriverAgentLib/Info.plist +2 -2
  6. package/build/index.d.ts +1 -1
  7. package/build/index.d.ts.map +1 -1
  8. package/build/index.js +1 -2
  9. package/build/index.js.map +1 -1
  10. package/build/lib/check-dependencies.d.ts +2 -7
  11. package/build/lib/check-dependencies.d.ts.map +1 -1
  12. package/build/lib/check-dependencies.js +0 -11
  13. package/build/lib/check-dependencies.js.map +1 -1
  14. package/build/lib/constants.d.ts +12 -12
  15. package/build/lib/constants.d.ts.map +1 -1
  16. package/build/lib/constants.js +14 -26
  17. package/build/lib/constants.js.map +1 -1
  18. package/build/lib/logger.d.ts +1 -2
  19. package/build/lib/logger.d.ts.map +1 -1
  20. package/build/lib/logger.js +2 -2
  21. package/build/lib/logger.js.map +1 -1
  22. package/build/lib/no-session-proxy.d.ts +5 -5
  23. package/build/lib/no-session-proxy.d.ts.map +1 -1
  24. package/build/lib/no-session-proxy.js +0 -1
  25. package/build/lib/no-session-proxy.js.map +1 -1
  26. package/build/lib/utils.d.ts +53 -96
  27. package/build/lib/utils.d.ts.map +1 -1
  28. package/build/lib/utils.js +124 -110
  29. package/build/lib/utils.js.map +1 -1
  30. package/build/lib/webdriveragent.d.ts +123 -170
  31. package/build/lib/webdriveragent.d.ts.map +1 -1
  32. package/build/lib/webdriveragent.js +319 -349
  33. package/build/lib/webdriveragent.js.map +1 -1
  34. package/build/lib/xcodebuild.d.ts +66 -77
  35. package/build/lib/xcodebuild.d.ts.map +1 -1
  36. package/build/lib/xcodebuild.js +123 -92
  37. package/build/lib/xcodebuild.js.map +1 -1
  38. package/build/test/functional/desired.d.ts +3 -0
  39. package/build/test/functional/desired.d.ts.map +1 -0
  40. package/build/test/functional/desired.js +9 -0
  41. package/build/test/functional/desired.js.map +1 -0
  42. package/build/test/functional/helpers/simulator.d.ts +5 -0
  43. package/build/test/functional/helpers/simulator.d.ts.map +1 -0
  44. package/build/test/functional/helpers/simulator.js +39 -0
  45. package/build/test/functional/helpers/simulator.js.map +1 -0
  46. package/build/test/functional/webdriveragent-e2e-specs.d.ts +2 -0
  47. package/build/test/functional/webdriveragent-e2e-specs.d.ts.map +1 -0
  48. package/build/test/functional/webdriveragent-e2e-specs.js +133 -0
  49. package/build/test/functional/webdriveragent-e2e-specs.js.map +1 -0
  50. package/build/test/unit/utils-specs.d.ts +2 -0
  51. package/build/test/unit/utils-specs.d.ts.map +1 -0
  52. package/build/test/unit/utils-specs.js +161 -0
  53. package/build/test/unit/utils-specs.js.map +1 -0
  54. package/build/test/unit/webdriveragent-specs.d.ts +2 -0
  55. package/build/test/unit/webdriveragent-specs.d.ts.map +1 -0
  56. package/build/test/unit/webdriveragent-specs.js +424 -0
  57. package/build/test/unit/webdriveragent-specs.js.map +1 -0
  58. package/build/tsconfig.tsbuildinfo +1 -0
  59. package/index.ts +1 -1
  60. package/lib/{check-dependencies.js → check-dependencies.ts} +4 -13
  61. package/lib/constants.ts +18 -0
  62. package/lib/logger.ts +3 -0
  63. package/lib/{no-session-proxy.js → no-session-proxy.ts} +4 -5
  64. package/lib/{utils.js → utils.ts} +101 -111
  65. package/lib/{webdriveragent.js → webdriveragent.ts} +353 -390
  66. package/lib/{xcodebuild.js → xcodebuild.ts} +145 -114
  67. package/package.json +7 -9
  68. package/lib/constants.js +0 -24
  69. package/lib/logger.js +0 -5
@@ -1,79 +1,81 @@
1
- export class WebDriverAgent {
2
- /**
3
- * @param {import('appium-xcode').XcodeVersion | undefined} xcodeVersion @deprecated Will be removed as no actual usage.
4
- * @param {import('./types').WebDriverAgentArgs} args
5
- * @param {import('@appium/types').AppiumLogger?} [log=null]
6
- */
7
- constructor(xcodeVersion: import("appium-xcode").XcodeVersion | undefined, args: import("./types").WebDriverAgentArgs, log?: import("@appium/types").AppiumLogger | null);
8
- /** @type {string} */
1
+ import url from 'node:url';
2
+ import { JWProxy } from '@appium/base-driver';
3
+ import type { AppiumLogger, StringRecord } from '@appium/types';
4
+ import { NoSessionProxy } from './no-session-proxy';
5
+ import { XcodeBuild } from './xcodebuild';
6
+ import type { WebDriverAgentArgs, AppleDevice } from './types';
7
+ export declare class WebDriverAgent {
9
8
  bootstrapPath: string;
10
- /** @type {string} */
11
9
  agentPath: string;
12
- /** @type {any} @deprecated for removal */
13
- idb: any;
14
- xcodeVersion: import("appium-xcode").XcodeVersion | undefined;
15
- args: import("./types").WebDriverAgentArgs;
16
- log: import("@appium/types").AppiumLogger;
17
- device: import("./types").AppleDevice;
18
- platformVersion: string | undefined;
19
- platformName: string | undefined;
20
- iosSdkVersion: string | undefined;
21
- host: string | undefined;
22
- isRealDevice: boolean;
23
- wdaBundlePath: string | undefined;
24
- wdaLocalPort: number | undefined;
25
- wdaRemotePort: number;
26
- wdaBaseUrl: string;
27
- wdaBindingIP: string | undefined;
28
- prebuildWDA: boolean | undefined;
29
- webDriverAgentUrl: string | undefined;
10
+ readonly args: WebDriverAgentArgs;
11
+ private readonly log;
12
+ readonly device: AppleDevice;
13
+ readonly platformVersion?: string;
14
+ readonly platformName?: string;
15
+ readonly iosSdkVersion?: string;
16
+ readonly host?: string;
17
+ readonly isRealDevice: boolean;
18
+ private readonly wdaBundlePath?;
19
+ private readonly wdaLocalPort?;
20
+ readonly wdaRemotePort: number;
21
+ readonly wdaBaseUrl: string;
22
+ readonly wdaBindingIP?: string;
23
+ private readonly prebuildWDA?;
24
+ webDriverAgentUrl?: string;
30
25
  started: boolean;
31
- wdaConnectionTimeout: number | undefined;
32
- useXctestrunFile: boolean | undefined;
33
- usePrebuiltWDA: boolean | undefined;
34
- derivedDataPath: string | undefined;
35
- mjpegServerPort: number | undefined;
36
- updatedWDABundleId: string | undefined;
37
- wdaLaunchTimeout: number;
38
- usePreinstalledWDA: boolean | undefined;
39
- xctestApiClient: any;
40
- updatedWDABundleIdSuffix: string;
41
- xcodebuild: XcodeBuild | null;
26
+ private readonly wdaConnectionTimeout?;
27
+ private readonly useXctestrunFile?;
28
+ private readonly usePrebuiltWDA?;
29
+ private readonly derivedDataPath?;
30
+ private readonly mjpegServerPort?;
31
+ updatedWDABundleId?: string;
32
+ private readonly wdaLaunchTimeout;
33
+ private readonly usePreinstalledWDA?;
34
+ private xctestApiClient?;
35
+ private readonly updatedWDABundleIdSuffix;
36
+ private _xcodebuild?;
37
+ noSessionProxy?: NoSessionProxy;
38
+ jwproxy?: JWProxy;
39
+ proxyReqRes?: any;
40
+ private _url?;
41
+ /**
42
+ * Creates a new WebDriverAgent instance.
43
+ * @param args - Configuration arguments for WebDriverAgent
44
+ * @param log - Optional logger instance
45
+ */
46
+ constructor(args: WebDriverAgentArgs, log?: AppiumLogger | null);
42
47
  /**
43
48
  * Return true if the session does not need xcodebuild.
44
- * @returns {boolean} Whether the session needs/has xcodebuild.
49
+ * @returns Whether the session needs/has xcodebuild.
45
50
  */
46
51
  get canSkipXcodebuild(): boolean;
52
+ /**
53
+ * Get the xcodebuild instance. Throws if not initialized.
54
+ * @returns The XcodeBuild instance
55
+ * @throws Error if xcodebuild is not available
56
+ */
57
+ get xcodebuild(): XcodeBuild;
47
58
  /**
48
59
  * Return bundle id for WebDriverAgent to launch the WDA.
49
60
  * The primary usage is with 'this.usePreinstalledWDA'.
50
61
  * It adds `.xctrunner` as suffix by default but 'this.updatedWDABundleIdSuffix'
51
62
  * lets skip it.
52
63
  *
53
- * @returns {string} Bundle ID for Xctest.
64
+ * @returns Bundle ID for Xctest.
54
65
  */
55
66
  get bundleIdForXctest(): string;
56
67
  /**
57
- * @param {string} [bootstrapPath]
58
- * @param {string} [agentPath]
59
- */
60
- setWDAPaths(bootstrapPath?: string, agentPath?: string): void;
61
- /**
62
- * @returns {Promise<void>}
68
+ * Cleans up obsolete cached processes from previous WDA sessions
69
+ * that are listening on the same port but belong to different devices.
63
70
  */
64
71
  cleanupObsoleteProcesses(): Promise<void>;
65
72
  /**
66
- * Return boolean if WDA is running or not
67
- * @return {Promise<boolean>} True if WDA is running
68
- * @throws {Error} If there was invalid response code or body
69
- */
70
- isRunning(): Promise<boolean>;
71
- /**
72
- * @returns {string}
73
+ * Gets the base path for the WebDriverAgent URL.
74
+ * @returns The base path (empty string if root path)
73
75
  */
74
76
  get basePath(): string;
75
77
  /**
76
- * Return current running WDA's status like below
78
+ * Return current running WDA's status like below after launching WDA
77
79
  * {
78
80
  * "state": "success",
79
81
  * "os": {
@@ -91,55 +93,64 @@ export class WebDriverAgent {
91
93
  * }
92
94
  * }
93
95
  *
94
- * @param {number} [timeoutMs=0] If the given timeoutMs is zero or negative number,
95
- * this function will return the response of `/status` immediately. If the given timeoutMs,
96
- * this function will try to get the response of `/status` up to the timeoutMs.
97
- * @return {Promise<import('@appium/types').StringRecord|null>} State Object
98
- * @throws {Error} If there was an error within timeoutMs timeout.
99
- * No error is raised if zero or negative number for the timeoutMs.
96
+ * @param sessionId Launch WDA and establish the session with this sessionId
100
97
  */
101
- getStatus(timeoutMs?: number): Promise<import("@appium/types").StringRecord | null>;
98
+ launch(sessionId: string): Promise<StringRecord | null>;
102
99
  /**
103
- * Uninstall WDAs from the test device.
104
- * Over Xcode 11, multiple WDA can be in the device since Xcode 11 generates different WDA.
105
- * Appium does not expect multiple WDAs are running on a device.
106
- *
107
- * @returns {Promise<void>}
100
+ * Checks if the WebDriverAgent source is fresh by verifying
101
+ * that required resource files exist.
102
+ * @returns `true` if source is fresh (all required files exist), `false` otherwise
108
103
  */
109
- uninstall(): Promise<void>;
110
- _cleanupProjectIfFresh(): Promise<void>;
104
+ isSourceFresh(): Promise<boolean>;
105
+ private parseBundleId;
106
+ private fetchWDABundle;
107
+ private setupProxies;
111
108
  /**
112
- * @typedef {Object} LaunchWdaViaDeviceCtlOptions
113
- * @property {Record<string, string|number>} [env] environment variables for the launching WDA process
109
+ * Stops the WebDriverAgent session and cleans up resources.
110
+ * Handles both preinstalled WDA and xcodebuild-based sessions.
114
111
  */
112
+ quit(): Promise<void>;
115
113
  /**
116
- * Launch WDA with preinstalled package with 'xcrun devicectl device process launch'.
117
- * The WDA package must be prepared properly like published via
118
- * https://github.com/appium/WebDriverAgent/releases
119
- * with proper sign for this case.
120
- *
121
- * When we implement launching XCTest service via appium-ios-device,
122
- * this implementation can be replaced with it.
123
- *
124
- * @param {LaunchWdaViaDeviceCtlOptions} [opts={}] launching WDA with devicectl command options.
125
- * @return {Promise<void>}
114
+ * Gets the WebDriverAgent URL.
115
+ * Constructs the URL from webDriverAgentUrl if provided, otherwise
116
+ * builds it from wdaBaseUrl, wdaBindingIP, and wdaLocalPort.
117
+ * @returns The parsed URL object
126
118
  */
127
- _launchViaDevicectl(opts?: {
128
- /**
129
- * environment variables for the launching WDA process
130
- */
131
- env?: Record<string, string | number> | undefined;
132
- }): Promise<void>;
119
+ get url(): url.UrlWithStringQuery;
133
120
  /**
134
- * Launch WDA with preinstalled package without xcodebuild.
135
- * @param {string} sessionId Launch WDA and establish the session with this sessionId
136
- * @return {Promise<import('@appium/types').StringRecord|null>} State Object
137
- * @throws {Error} If there was an error within timeoutMs timeout.
138
- * No error is raised if zero or negative number for the timeoutMs.
121
+ * Sets the WebDriverAgent URL.
122
+ * @param _url - The URL string to parse and set
139
123
  */
140
- launchWithPreinstalledWDA(sessionId: string): Promise<import("@appium/types").StringRecord | null>;
124
+ set url(_url: string);
141
125
  /**
142
- * Return current running WDA's status like below after launching WDA
126
+ * Gets whether WebDriverAgent has fully started.
127
+ * @returns `true` if WDA has started, `false` otherwise
128
+ */
129
+ get fullyStarted(): boolean;
130
+ /**
131
+ * Sets whether WebDriverAgent has fully started.
132
+ * @param started - `true` if WDA has started, `false` otherwise
133
+ */
134
+ set fullyStarted(started: boolean);
135
+ /**
136
+ * Retrieves the Xcode derived data path for WebDriverAgent.
137
+ * @returns The derived data path, or `undefined` if xcodebuild is skipped
138
+ */
139
+ retrieveDerivedDataPath(): Promise<string | undefined>;
140
+ /**
141
+ * Reuse running WDA if it has the same bundle id with updatedWDABundleId.
142
+ * Or reuse it if it has the default id without updatedWDABundleId.
143
+ * Uninstall it if the method faces an exception for the above situation.
144
+ */
145
+ setupCaching(): Promise<void>;
146
+ /**
147
+ * Quit and uninstall running WDA.
148
+ */
149
+ quitAndUninstall(): Promise<void>;
150
+ private setWDAPaths;
151
+ private isRunning;
152
+ /**
153
+ * Return current running WDA's status like below
143
154
  * {
144
155
  * "state": "success",
145
156
  * "os": {
@@ -157,90 +168,32 @@ export class WebDriverAgent {
157
168
  * }
158
169
  * }
159
170
  *
160
- * @param {string} sessionId Launch WDA and establish the session with this sessionId
161
- * @return {Promise<any?>} State Object
162
- * @throws {Error} If there was invalid response code or body
163
- */
164
- launch(sessionId: string): Promise<any | null>;
165
- /**
166
- * @param {string} _url
167
- * @returns {void}
171
+ * @param timeoutMs If zero or negative, returns immediately. Otherwise, waits up to timeoutMs.
168
172
  */
169
- set url(_url: string);
173
+ private getStatus;
170
174
  /**
171
- * @returns {import('url').UrlWithStringQuery}
172
- */
173
- get url(): import("url").UrlWithStringQuery;
174
- /**
175
- * @deprecated We'll stop supporting idb. Deprecated for removal.
176
- * @returns {Promise<void>}
175
+ * Uninstall WDAs from the test device.
176
+ * Over Xcode 11, multiple WDA can be in the device since Xcode 11 generates different WDA.
177
+ * Appium does not expect multiple WDAs are running on a device.
177
178
  */
178
- startWithIDB(): Promise<void>;
179
+ private uninstall;
180
+ private _cleanupProjectIfFresh;
179
181
  /**
182
+ * Launch WDA with preinstalled package with 'xcrun devicectl device process launch'.
183
+ * The WDA package must be prepared properly like published via
184
+ * https://github.com/appium/WebDriverAgent/releases
185
+ * with proper sign for this case.
180
186
  *
181
- * @param {string} wdaBundlePath
182
- * @returns {Promise<string>}
183
- */
184
- parseBundleId(wdaBundlePath: string): Promise<string>;
185
- /**
186
- * @deprecated We'll stop using idb
187
- * @returns {Promise<{wdaBundleId: string, testBundleId: string, wdaBundlePath: string}>}
188
- */
189
- prepareWDA(): Promise<{
190
- wdaBundleId: string;
191
- testBundleId: string;
192
- wdaBundlePath: string;
193
- }>;
194
- /**
195
- * @returns {Promise<string>}
196
- */
197
- fetchWDABundle(): Promise<string>;
198
- /**
199
- * @returns {Promise<boolean>}
200
- */
201
- isSourceFresh(): Promise<boolean>;
202
- /**
203
- * @param {string} sessionId
204
- * @returns {void}
205
- */
206
- setupProxies(sessionId: string): void;
207
- jwproxy: JWProxy | undefined;
208
- proxyReqRes: any;
209
- noSessionProxy: NoSessionProxy | undefined;
210
- /**
211
- * @returns {Promise<void>}
212
- */
213
- quit(): Promise<void>;
214
- _url: url.UrlWithStringQuery | undefined;
215
- /**
216
- * @param {boolean} started
217
- * @returns {void}s
218
- */
219
- set fullyStarted(started: boolean);
220
- /**
221
- * @returns {boolean}
222
- */
223
- get fullyStarted(): boolean;
224
- /**
225
- * @returns {Promise<string|undefined>}
226
- */
227
- retrieveDerivedDataPath(): Promise<string | undefined>;
228
- /**
229
- * Reuse running WDA if it has the same bundle id with updatedWDABundleId.
230
- * Or reuse it if it has the default id without updatedWDABundleId.
231
- * Uninstall it if the method faces an exception for the above situation.
232
- * @returns {Promise<void>}
187
+ * When we implement launching XCTest service via appium-ios-device,
188
+ * this implementation can be replaced with it.
189
+ *
190
+ * @param opts launching WDA with devicectl command options.
233
191
  */
234
- setupCaching(): Promise<void>;
192
+ private _launchViaDevicectl;
235
193
  /**
236
- * Quit and uninstall running WDA.
237
- * @returns {Promise<void>}
194
+ * Launch WDA with preinstalled package without xcodebuild.
195
+ * @param sessionId Launch WDA and establish the session with this sessionId
238
196
  */
239
- quitAndUninstall(): Promise<void>;
197
+ private launchWithPreinstalledWDA;
240
198
  }
241
- export default WebDriverAgent;
242
- import { XcodeBuild } from './xcodebuild';
243
- import { JWProxy } from '@appium/base-driver';
244
- import { NoSessionProxy } from './no-session-proxy';
245
- import url from 'url';
246
199
  //# sourceMappingURL=webdriveragent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"webdriveragent.d.ts","sourceRoot":"","sources":["../../lib/webdriveragent.js"],"names":[],"mappings":"AA6BA;IAUE;;;;OAIG;IACH,0BAJW,OAAO,cAAc,EAAE,YAAY,GAAG,SAAS,QAC/C,OAAO,SAAS,EAAE,kBAAkB,QACpC,OAAO,eAAe,EAAE,YAAY,OAAC,EA4E/C;IAxFD,qBAAqB;IACrB,eADW,MAAM,CACH;IAEd,qBAAqB;IACrB,WADW,MAAM,CACP;IAEV,0CAA0C;IAC1C,KADW,GAAG,CACV;IAQF,8DAAgC;IAEhC,2CAAyB;IACzB,0CAA+B;IAE/B,sCAAyB;IACzB,oCAA2C;IAC3C,iCAAqC;IACrC,kCAAuC;IACvC,yBAAqB;IACrB,sBAAqC;IAGrC,kCAAuC;IAIvC,iCAAqC;IACrC,sBACmB;IACnB,mBAAiD;IACjD,iCAAqC;IACrC,iCAAmC;IAKnC,sCAA+C;IAE/C,iBAAoB;IAEpB,yCAAqD;IAErD,sCAA6C;IAC7C,oCAAyC;IACzC,oCAA2C;IAC3C,oCAA2C;IAE3C,uCAAiD;IAEjD,yBAAmE;IACnE,wCAAiD;IACjD,qBAA2B;IAC3B,iCAA2F;IAE3F,8BA2Bc;IAGhB;;;OAGG;IACH,yBAFa,OAAO,CAMnB;IAED;;;;;;;OAOG;IACH,yBAFa,MAAM,CAIlB;IAED;;;OAGG;IACH,4BAHW,MAAM,cACN,MAAM,QAWhB;IAED;;OAEG;IACH,4BAFa,OAAO,CAAC,IAAI,CAAC,CAqBzB;IAED;;;;OAIG;IACH,aAHY,OAAO,CAAC,OAAO,CAAC,CAK3B;IAED;;OAEG;IACH,gBAFa,MAAM,CAOlB;IAED;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,sBAPW,MAAM,GAGL,OAAO,CAAC,OAAO,eAAe,E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