appium-xcuitest-driver 12.1.2 → 12.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/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## [12.1.4](https://github.com/appium/appium-xcuitest-driver/compare/v12.1.3...v12.1.4) (2026-08-01)
2
+
3
+ ### Miscellaneous Chores
4
+
5
+ * Drop esmock ([#2932](https://github.com/appium/appium-xcuitest-driver/issues/2932)) ([d9798bd](https://github.com/appium/appium-xcuitest-driver/commit/d9798bd727f85d9a40e3313ffa243408e2c92760))
6
+
7
+ ## [12.1.3](https://github.com/appium/appium-xcuitest-driver/compare/v12.1.2...v12.1.3) (2026-07-31)
8
+
9
+ ### Bug Fixes
10
+
11
+ * Make closeWindow return remaining window handles per W3C spec ([#2931](https://github.com/appium/appium-xcuitest-driver/issues/2931)) ([4687938](https://github.com/appium/appium-xcuitest-driver/commit/46879386d3d2b06bba1992db412ba73e2ee3b391))
12
+
1
13
  ## [12.1.2](https://github.com/appium/appium-xcuitest-driver/compare/v12.1.1...v12.1.2) (2026-07-30)
2
14
 
3
15
  ### Miscellaneous Chores
@@ -10,9 +10,10 @@ export declare function forward(this: XCUITestDriver): Promise<void>;
10
10
  /**
11
11
  * Closes the current window in a web context.
12
12
  *
13
- * @returns Promise that resolves when the window is closed
13
+ * @returns Promise resolving to the handles of the windows that remain open,
14
+ * as required by https://www.w3.org/TR/webdriver2/#close-window
14
15
  */
15
- export declare function closeWindow(this: XCUITestDriver): Promise<any>;
16
+ export declare function closeWindow(this: XCUITestDriver): Promise<string[]>;
16
17
  /**
17
18
  * Opens the given URL with the default application assigned to handle it based on the URL
18
19
  * scheme, or the application provided as an optional parameter
@@ -1 +1 @@
1
- {"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../../lib/commands/navigation.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAOjD;;GAEG;AACH,wBAAsB,IAAI,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAM9D;AAED;;GAEG;AACH,wBAAsB,OAAO,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAMjE;AAED;;;;GAIG;AACH,wBAAsB,WAAW,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,CAsBpE;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,cAAc,CAAC,IAAI,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAKxG;AAED;;GAEG;AACH,wBAAsB,UAAU,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAoCpE"}
1
+ {"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../../lib/commands/navigation.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAOjD;;GAEG;AACH,wBAAsB,IAAI,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAM9D;AAED;;GAEG;AACH,wBAAsB,OAAO,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAMjE;AAED;;;;;GAKG;AACH,wBAAsB,WAAW,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAuBzE;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,cAAc,CAAC,IAAI,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAKxG;AAED;;GAEG;AACH,wBAAsB,UAAU,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAoCpE"}
@@ -28,7 +28,8 @@ export async function forward() {
28
28
  /**
29
29
  * Closes the current window in a web context.
30
30
  *
31
- * @returns Promise that resolves when the window is closed
31
+ * @returns Promise resolving to the handles of the windows that remain open,
32
+ * as required by https://www.w3.org/TR/webdriver2/#close-window
32
33
  */
33
34
  export async function closeWindow() {
34
35
  if (!this.isWebContext()) {
@@ -39,7 +40,7 @@ export async function closeWindow() {
39
40
  const script = `setTimeout(function () {window.open('','_self').close();}, 0); return true;`;
40
41
  const context = this.curContext;
41
42
  try {
42
- return await this.executeAtom('execute_script', [script, []], true);
43
+ await this.executeAtom('execute_script', [script, []], true);
43
44
  }
44
45
  finally {
45
46
  // wait for the window to successfully change...
@@ -53,6 +54,7 @@ export async function closeWindow() {
53
54
  this.log.debug('Context has not yet been changed after closing window. Continuing...');
54
55
  }
55
56
  }
57
+ return await this.getWindowHandles();
56
58
  }
57
59
  /**
58
60
  * Opens the given URL with the default application assigned to handle it based on the URL
@@ -1 +1 @@
1
- {"version":3,"file":"navigation.js","sourceRoot":"","sources":["../../../lib/commands/navigation.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,MAAM,EAAC,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAC,gBAAgB,EAAC,MAAM,UAAU,CAAC;AAG1C,OAAO,EAAC,MAAM,EAAC,MAAM,mBAAmB,CAAC;AAEzC,uDAAuD;AACvD,MAAM,oBAAoB,GAAG,IAAI,CAAC;AAClC,MAAM,qBAAqB,GAAG,GAAG,CAAC;AAElC;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,IAAI;IACxB,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,EAAE,CAAC;QACzB,MAAM,IAAI,CAAC,UAAU,EAAE,CAAC;IAC1B,CAAC;SAAM,CAAC;QACN,MAAM,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;IAClC,CAAC;AACH,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,OAAO;IAC3B,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,E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K,CAAC,+CAA+C,CAAC,CAAC;YAChE,SAAS,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;QACzB,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,wEAAwE,CAAC,CAAC;YACzF,SAAS,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC;QAC7B,CAAC;QAED,MAAM,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;IACpC,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,kDAAkD,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC;IAClF,CAAC;AACH,CAAC"}
@@ -34,9 +34,10 @@ export async function forward(this: XCUITestDriver): Promise<void> {
34
34
  /**
35
35
  * Closes the current window in a web context.
36
36
  *
37
- * @returns Promise that resolves when the window is closed
37
+ * @returns Promise resolving to the handles of the windows that remain open,
38
+ * as required by https://www.w3.org/TR/webdriver2/#close-window
38
39
  */
39
- export async function closeWindow(this: XCUITestDriver): Promise<any> {
40
+ export async function closeWindow(this: XCUITestDriver): Promise<string[]> {
40
41
  if (!this.isWebContext()) {
41
42
  throw new errors.NotImplementedError();
42
43
  }
@@ -46,7 +47,7 @@ export async function closeWindow(this: XCUITestDriver): Promise<any> {
46
47
  const script = `setTimeout(function () {window.open('','_self').close();}, 0); return true;`;
47
48
  const context = this.curContext;
48
49
  try {
49
- return await this.executeAtom('execute_script', [script, []], true);
50
+ await this.executeAtom('execute_script', [script, []], true);
50
51
  } finally {
51
52
  // wait for the window to successfully change...
52
53
  try {
@@ -58,6 +59,7 @@ export async function closeWindow(this: XCUITestDriver): Promise<any> {
58
59
  this.log.debug('Context has not yet been changed after closing window. Continuing...');
59
60
  }
60
61
  }
62
+ return await this.getWindowHandles();
61
63
  }
62
64
 
63
65
  /**
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "appium-xcuitest-driver",
3
- "version": "12.1.2",
3
+ "version": "12.1.4",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "appium-xcuitest-driver",
9
- "version": "12.1.2",
9
+ "version": "12.1.4",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@appium/css-locator-to-native": "^1.0.1",
@@ -48,7 +48,6 @@
48
48
  "@types/sinon": "22.0.0",
49
49
  "chai": "^6.0.0",
50
50
  "chai-as-promised": "^8.0.0",
51
- "esmock": "^2.7.6",
52
51
  "pem": "^1.14.8",
53
52
  "sharp": "^0.x",
54
53
  "sinon": "^22.0.0",
@@ -496,9 +495,9 @@
496
495
  }
497
496
  },
498
497
  "node_modules/appium-ios-device": {
499
- "version": "3.1.19",
500
- "resolved": "https://registry.npmjs.org/appium-ios-device/-/appium-ios-device-3.1.19.tgz",
501
- "integrity": "sha512-qspk0P46L5VuoHUzoJ+xkXZBqYy/C2tA7qExCoC4e27KmqiBBc6H2qS9RCKSWDyKWx7S6vXPpltNW+AzQ11ZJA==",
498
+ "version": "3.1.21",
499
+ "resolved": "https://registry.npmjs.org/appium-ios-device/-/appium-ios-device-3.1.21.tgz",
500
+ "integrity": "sha512-jufABr3k6fBGMzBlbzU4R2J8JfLvC5HYWscKEu0ntXz2YmYc+q8/iqXCpmp3rpqR/jGK5Ibqdrt0WkIpnQHQ3g==",
502
501
  "license": "Apache-2.0",
503
502
  "dependencies": {
504
503
  "@appium/support": "^7.2.2",
@@ -553,9 +552,9 @@
553
552
  }
554
553
  },
555
554
  "node_modules/appium-ios-simulator": {
556
- "version": "9.1.1",
557
- "resolved": "https://registry.npmjs.org/appium-ios-simulator/-/appium-ios-simulator-9.1.1.tgz",
558
- "integrity": "sha512-29oDZEYhlZ2STzJ5hAglt1Xf72h6Dnf6KvJ/pw1v5bMpKJjCgU5EwJSsMRd7m+deLZfnri+unmfkuZDmSv+0uA==",
555
+ "version": "9.1.2",
556
+ "resolved": "https://registry.npmjs.org/appium-ios-simulator/-/appium-ios-simulator-9.1.2.tgz",
557
+ "integrity": "sha512-IVZKABOIvY8NZhYmNHVFc56MQhpoK1UXRSuzXrYW2jFu7jkb6n2szcfDefU4JS4rFOJOaA4LqOAQ9mcUUv+PSg==",
559
558
  "license": "Apache-2.0",
560
559
  "dependencies": {
561
560
  "@appium/support": "^7.2.5",
@@ -611,9 +610,9 @@
611
610
  }
612
611
  },
613
612
  "node_modules/appium-webdriveragent": {
614
- "version": "16.0.3",
615
- "resolved": "https://registry.npmjs.org/appium-webdriveragent/-/appium-webdriveragent-16.0.3.tgz",
616
- "integrity": "sha512-6krkIkLZm9gfiCIL3KP4LmK+7wxIiiNuxuFKfnTsZtKJA4bS0pq8ITYk/CLtM6k0+43xRCyELBNAIUr6WnX8fw==",
613
+ "version": "16.1.1",
614
+ "resolved": "https://registry.npmjs.org/appium-webdriveragent/-/appium-webdriveragent-16.1.1.tgz",
615
+ "integrity": "sha512-34U27UNSCLUh0FVEhZQLCZqBBerJWLDGaY1g1UdGq7Fwff3hlpboxIgzPE9yd+bqLDo2wLE6q+KwwZyQ4a064A==",
617
616
  "license": "Apache-2.0",
618
617
  "dependencies": {
619
618
  "@appium/base-driver": "^10.3.0",
@@ -679,9 +678,9 @@
679
678
  "license": "MIT"
680
679
  },
681
680
  "node_modules/asyncbox": {
682
- "version": "6.4.1",
683
- "resolved": "https://registry.npmjs.org/asyncbox/-/asyncbox-6.4.1.tgz",
684
- "integrity": "sha512-VsL3X0NczAVgqQAUkuwOdJ/yHay0GQFM6cuqgamWBcGgk70HVJPOnyYistHscN07NeULSHkXx62nb7vWoQ1C7A==",
681
+ "version": "6.4.2",
682
+ "resolved": "https://registry.npmjs.org/asyncbox/-/asyncbox-6.4.2.tgz",
683
+ "integrity": "sha512-CXEnvX5i4UtAdu3Egtqn5At9C1O3bIqtS3EAQGz8bA5H11cvu9eO17IxOWiM8Q8DUFk9sD251s9vsAXFKXXFgg==",
685
684
  "license": "Apache-2.0",
686
685
  "dependencies": {
687
686
  "p-limit": "^7.2.0"
@@ -2435,9 +2434,9 @@
2435
2434
  }
2436
2435
  },
2437
2436
  "node_modules/node-addon-api": {
2438
- "version": "8.9.0",
2439
- "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-8.9.0.tgz",
2440
- "integrity": "sha512-ekZMeaaIzSQTSpr7X2X3iJM7lTzgnx8ahAG9pJfT/7+14mlEM8ZYQ9cgCDvSSRbReFK0oHli3WrZdCiRsgAT9Q==",
2437
+ "version": "8.9.1",
2438
+ "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-8.9.1.tgz",
2439
+ "integrity": "sha512-4eUQWVPCUUUiBjLnHS3cXWeC6ryoPUc0U3rP7IuzapoGbzMqd/r6KKO0clr0b+snQhsrueFEhCZDdK+LK7hxKg==",
2441
2440
  "license": "MIT",
2442
2441
  "optional": true,
2443
2442
  "engines": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appium-xcuitest-driver",
3
- "version": "12.1.2",
3
+ "version": "12.1.4",
4
4
  "description": "Appium driver for iOS using XCUITest for backend",
5
5
  "keywords": [
6
6
  "appium",
@@ -56,15 +56,15 @@
56
56
  "install-docs-deps": "appium-docs init --no-mkdocs",
57
57
  "prepare": "npm run rebuild",
58
58
  "rebuild": "npm run clean; npm run build",
59
- "test": "node --enable-source-maps --test --test-force-exit --test-timeout=60000 \"./build/test/unit/**/*.spec.js\"",
60
- "e2e-test": "node --enable-source-maps --test --test-force-exit --test-timeout=600000 \"./build/test/functional/**/*.spec.js\"",
61
- "e2e-test:basic": "node --enable-source-maps --test --test-force-exit --test-timeout=600000 \"./build/test/functional/basic/**/*.spec.js\"",
62
- "e2e-test:device": "node --enable-source-maps --test --test-force-exit --test-timeout=600000 \"./build/test/functional/device/**/*.spec.js\"",
63
- "e2e-test:driver": "node --enable-source-maps --test --test-force-exit --test-timeout=600000 \"./build/test/functional/driver/**/*.spec.js\"",
64
- "e2e-test:long": "node --enable-source-maps --test --test-force-exit --test-timeout=600000 \"./build/test/functional/long/**/*.spec.js\"",
65
- "e2e-test:parallel": "node --enable-source-maps --test --test-force-exit --test-timeout=600000 \"./build/test/functional/parallel/**/*.spec.js\"",
66
- "e2e-test:web": "node --enable-source-maps --test --test-force-exit --test-timeout=600000 \"./build/test/functional/web/**/*.spec.js\"",
67
- "e2e-test:native-web-tap": "node --enable-source-maps --test --test-force-exit --test-timeout=600000 \"./build/test/functional/web/safari-nativewebtap*.spec.js\"",
59
+ "test": "node --enable-source-maps --experimental-test-module-mocks --test --test-force-exit --test-timeout=60000 \"./build/test/unit/**/*.spec.js\"",
60
+ "e2e-test": "node --enable-source-maps --test --test-force-exit --test-concurrency=1 \"./build/test/functional/**/*.spec.js\"",
61
+ "e2e-test:basic": "node --enable-source-maps --test --test-force-exit --test-concurrency=1 \"./build/test/functional/basic/**/*.spec.js\"",
62
+ "e2e-test:device": "node --enable-source-maps --test --test-force-exit --test-concurrency=1 \"./build/test/functional/device/**/*.spec.js\"",
63
+ "e2e-test:driver": "node --enable-source-maps --test --test-force-exit --test-concurrency=1 \"./build/test/functional/driver/**/*.spec.js\"",
64
+ "e2e-test:long": "node --enable-source-maps --test --test-force-exit --test-concurrency=1 \"./build/test/functional/long/**/*.spec.js\"",
65
+ "e2e-test:parallel": "node --enable-source-maps --test --test-force-exit --test-concurrency=1 \"./build/test/functional/parallel/**/*.spec.js\"",
66
+ "e2e-test:web": "node --enable-source-maps --test --test-force-exit --test-concurrency=1 \"./build/test/functional/web/**/*.spec.js\"",
67
+ "e2e-test:native-web-tap": "node --enable-source-maps --test --test-force-exit --test-concurrency=1 \"./build/test/functional/web/safari-nativewebtap*.spec.js\"",
68
68
  "start": "appium --relaxed-security --port 4567 --keep-alive-timeout 1200"
69
69
  },
70
70
  "dependencies": {
@@ -107,7 +107,6 @@
107
107
  "@types/sinon": "22.0.0",
108
108
  "chai": "^6.0.0",
109
109
  "chai-as-promised": "^8.0.0",
110
- "esmock": "^2.7.6",
111
110
  "pem": "^1.14.8",
112
111
  "sharp": "^0.x",
113
112
  "sinon": "^22.0.0",