webdriverio 9.6.0 → 9.6.2

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.
@@ -81,11 +81,13 @@
81
81
  * </example>
82
82
  *
83
83
  * @alias element.isDisplayed
84
- * @param {Boolean} [isWithinViewport=false] set to true to check if element is within viewport
84
+ * @param {Boolean} [withinViewport=false] `true` to check if the element is within the viewport. `false` by default.
85
+ * @param {Boolean} [contentVisibilityAuto=true] `true` to check if the element content-visibility property has (or inherits) the value auto, and it is currently skipping its rendering. `true` by default.
86
+ * @param {Boolean} [opacityProperty=true] `true` to check if the element opacity property has (or inherits) a value of 0. `true` by default.
87
+ * @param {Boolean} [visibilityProperty=true] `true` to check if the element is invisible due to the value of its visibility property. `true` by default.
85
88
  * @return {Boolean} true if element is displayed
86
89
  * @uses protocol/elements, protocol/elementIdDisplayed
87
90
  * @type state
88
- *
89
91
  */
90
92
  export declare function isDisplayed(this: WebdriverIO.Element, commandParams?: IsDisplayedParams): Promise<boolean>;
91
93
  interface IsDisplayedParams {
@@ -1 +1 @@
1
- {"version":3,"file":"isDisplayed.d.ts","sourceRoot":"","sources":["../../../src/commands/element/isDisplayed.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwFG;AACH,wBAAsB,WAAW,CAC7B,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,aAAa,GAAE,iBAAkC,oBA8CpD;AASD,UAAU,iBAAiB;IACvB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAA;CAC/B"}
1
+ {"version":3,"file":"isDisplayed.d.ts","sourceRoot":"","sources":["../../../src/commands/element/isDisplayed.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0FG;AAEH,wBAAsB,WAAW,CAC7B,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,aAAa,GAAE,iBAAkC,oBA8DpD;AASD,UAAU,iBAAiB;IACvB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAA;CAC/B"}
@@ -1,9 +1,5 @@
1
1
  import type { Options, Capabilities } from '@wdio/types';
2
2
  import type { RestoreMap } from './types.js';
3
- export declare enum SupportedAutomationProtocols {
4
- webdriver = "webdriver",
5
- stub = "./protocol-stub.js"
6
- }
7
3
  export declare const WDIO_DEFAULTS: Options.Definition<Capabilities.WebdriverIOConfig>;
8
4
  export declare const W3C_SELECTOR_STRATEGIES: string[];
9
5
  export declare const DRIVER_DEFAULT_ENDPOINT: {
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAExD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAE5C,oBAAY,4BAA4B;IACpC,SAAS,cAAc;IACvB,IAAI,uBAAuB;CAC9B;AAED,eAAO,MAAM,aAAa,EAAE,OAAO,CAAC,UAAU,CAAC,YAAY,CAAC,iBAAiB,CA+D5E,CAAA;AAED,eAAO,MAAM,uBAAuB,UAA0E,CAAA;AAE9G,eAAO,MAAM,uBAAuB;;;;;CAKnC,CAAA;AAED,eAAO,MAAM,mBAAmB,2BAA2B,CAAA;AAC3D,eAAO,MAAM,aAAa,QAAQ,CAAA;AAClC,eAAO,MAAM,aAAa,UAAU,CAAA;AAEpC,eAAO,MAAM,YAAY,UAKxB,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB,sCAA6C,CAAA;AAE1E;;GAEG;AACH,eAAO,MAAM,GAAG;IACZ;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0DG,CAAA"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAExD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAE5C,eAAO,MAAM,aAAa,EAAE,OAAO,CAAC,UAAU,CAAC,YAAY,CAAC,iBAAiB,CAkE5E,CAAA;AAED,eAAO,MAAM,uBAAuB,UAA0E,CAAA;AAE9G,eAAO,MAAM,uBAAuB;;;;;CAKnC,CAAA;AAED,eAAO,MAAM,mBAAmB,2BAA2B,CAAA;AAC3D,eAAO,MAAM,aAAa,QAAQ,CAAA;AAClC,eAAO,MAAM,aAAa,UAAU,CAAA;AAEpC,eAAO,MAAM,YAAY,UAKxB,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB,sCAA6C,CAAA;AAE1E;;GAEG;AACH,eAAO,MAAM,GAAG;IACZ;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0DG,CAAA"}
package/build/index.js CHANGED
@@ -269,25 +269,24 @@ var getElements = function getElements2(selector, elemResponse, props = { isReac
269
269
  };
270
270
 
271
271
  // src/constants.ts
272
+ import { resolve } from "import-meta-resolve";
272
273
  import { UNICODE_CHARACTERS, HOOK_DEFINITION } from "@wdio/utils";
273
- var SupportedAutomationProtocols = /* @__PURE__ */ ((SupportedAutomationProtocols2) => {
274
- SupportedAutomationProtocols2["webdriver"] = "webdriver";
275
- SupportedAutomationProtocols2["stub"] = "./protocol-stub.js";
276
- return SupportedAutomationProtocols2;
277
- })(SupportedAutomationProtocols || {});
278
274
  var WDIO_DEFAULTS = {
279
275
  /**
280
276
  * allows to specify automation protocol
281
277
  */
282
278
  automationProtocol: {
283
279
  type: "string",
284
- default: "webdriver" /* webdriver */,
280
+ default: "webdriver",
285
281
  validate: (param) => {
286
- if (param.endsWith("driver.js")) {
287
- return;
282
+ if (typeof param !== "string") {
283
+ throw new Error("automationProtocol should be a string");
288
284
  }
289
- if (!Object.values(SupportedAutomationProtocols).includes(param.toLowerCase())) {
290
- throw new Error('Currently only "webdriver" and "devtools" is supported as automationProtocol, you set "'.concat(param, '"'));
285
+ try {
286
+ resolve(param, import.meta.url);
287
+ } catch (err) {
288
+ const error = err instanceof Error ? err : new Error("unknown error");
289
+ throw new Error("Couldn't find automation protocol \"".concat(param, '": ').concat(error.message));
291
290
  }
292
291
  }
293
292
  },
@@ -1108,7 +1107,7 @@ function debug(commandTimeout = 5e3) {
1108
1107
  });
1109
1108
  }
1110
1109
  });
1111
- return new Promise((resolve) => commandResolve = resolve);
1110
+ return new Promise((resolve2) => commandResolve = resolve2);
1112
1111
  }
1113
1112
 
1114
1113
  // src/commands/browser/deleteCookies.ts
@@ -3019,12 +3018,10 @@ var SessionManager = class {
3019
3018
  * check if session manager should be enabled, if
3020
3019
  */
3021
3020
  isEnabled() {
3022
- var _a;
3023
3021
  return (
3024
3022
  // we are in a Bidi session
3025
3023
  __privateGet(this, _browser2).isBidi && // we are not running unit tests
3026
- !process.env.WDIO_UNIT_TESTS && // we are running a WebDriver session
3027
- ((_a = __privateGet(this, _browser2).options) == null ? void 0 : _a.automationProtocol) === "webdriver"
3024
+ !process.env.WDIO_UNIT_TESTS
3028
3025
  );
3029
3026
  }
3030
3027
  static getSessionManager(browser, Manager) {
@@ -3639,8 +3636,8 @@ var Timer = class {
3639
3636
  __publicField(this, "_timeoutId");
3640
3637
  __publicField(this, "_mainTimeoutId");
3641
3638
  __publicField(this, "_lastError");
3642
- __privateSet(this, _retPromise, new Promise((resolve, reject) => {
3643
- this._resolve = resolve;
3639
+ __privateSet(this, _retPromise, new Promise((resolve2, reject) => {
3640
+ this._resolve = resolve2;
3644
3641
  this._reject = reject;
3645
3642
  }));
3646
3643
  this._start();
@@ -4234,7 +4231,7 @@ async function newWindow2(url2, { type = "window", windowName = "", windowFeatur
4234
4231
 
4235
4232
  // src/commands/browser/pause.ts
4236
4233
  function pause(milliseconds = 1e3) {
4237
- return new Promise((resolve) => setTimeout(resolve, milliseconds));
4234
+ return new Promise((resolve2) => setTimeout(resolve2, milliseconds));
4238
4235
  }
4239
4236
 
4240
4237
  // src/scripts/resq.ts
@@ -4929,7 +4926,7 @@ _type2 = new WeakMap();
4929
4926
 
4930
4927
  // src/session/index.ts
4931
4928
  function registerSessionManager(instance) {
4932
- if (instance.options.automationProtocol !== "webdriver") {
4929
+ if (typeof instance.capabilities.webSocketUrl !== "string") {
4933
4930
  return;
4934
4931
  }
4935
4932
  return Promise.all([
@@ -6649,18 +6646,26 @@ async function isDisplayed(commandParams = DEFAULT_PARAMS) {
6649
6646
  }
6650
6647
  return await this.isElementDisplayed(this.elementId);
6651
6648
  }
6652
- const isDisplayed2 = await browser.execute(function checkVisibility(elem, params) {
6653
- return elem.checkVisibility(params);
6654
- }, this, commandParams).catch((err) => {
6655
- if (err.message.includes("checkVisibility is not a function")) {
6656
- return browser.execute(isElementDisplayed, this);
6657
- }
6658
- throw err;
6659
- });
6660
- if (isDisplayed2 && (commandParams == null ? void 0 : commandParams.withinViewport)) {
6649
+ let hadToFallback = false;
6650
+ const [isDisplayed2, displayProperty] = await Promise.all([
6651
+ browser.execute(function checkVisibility(elem, params) {
6652
+ return elem.checkVisibility(params);
6653
+ }, this, commandParams).catch((err) => {
6654
+ if (err.message.includes("checkVisibility is not a function")) {
6655
+ hadToFallback = true;
6656
+ return browser.execute(isElementDisplayed, this);
6657
+ }
6658
+ throw err;
6659
+ }),
6660
+ this.getCSSProperty("display")
6661
+ ]);
6662
+ const hasDisplayContentsCSSProperty = displayProperty.value === "contents";
6663
+ const shouldRecheckContentVisibility = !hadToFallback && hasDisplayContentsCSSProperty;
6664
+ const finalResponse = shouldRecheckContentVisibility ? await browser.execute(isElementDisplayed, this).catch(() => false) : isDisplayed2;
6665
+ if (finalResponse && (commandParams == null ? void 0 : commandParams.withinViewport)) {
6661
6666
  return browser.execute(isElementInViewport, this);
6662
6667
  }
6663
- return isDisplayed2;
6668
+ return finalResponse;
6664
6669
  }
6665
6670
  var DEFAULT_PARAMS = {
6666
6671
  withinViewport: false,
@@ -8574,7 +8579,7 @@ function emulateSessionCapabilities(caps) {
8574
8579
  // src/utils/driver.ts
8575
8580
  var webdriverImport;
8576
8581
  async function getProtocolDriver(options) {
8577
- if (options.automationProtocol === "./protocol-stub.js" /* stub */) {
8582
+ if (isStub(options.automationProtocol)) {
8578
8583
  return { Driver: ProtocolStub, options };
8579
8584
  }
8580
8585
  if (typeof options.user === "string" && typeof options.key === "string") {
@@ -8617,7 +8622,7 @@ var remote = async function(params, remoteModifier) {
8617
8622
  };
8618
8623
  var attach = async function(attachOptions) {
8619
8624
  const params = {
8620
- automationProtocol: "webdriver" /* webdriver */,
8625
+ automationProtocol: "webdriver",
8621
8626
  ...attachOptions,
8622
8627
  ...detectBackend(attachOptions.options),
8623
8628
  capabilities: attachOptions.capabilities || {},
@@ -8650,7 +8655,7 @@ var multiremote = async function(params, { automationProtocol } = {}) {
8650
8655
  isW3C: multibrowser.instances[browserNames[0]].isW3C,
8651
8656
  logLevel: multibrowser.instances[browserNames[0]].options.logLevel
8652
8657
  };
8653
- const ProtocolDriver = automationProtocol && isStub(automationProtocol) ? (await import(
8658
+ const ProtocolDriver = typeof automationProtocol === "string" ? (await import(
8654
8659
  /* @vite-ignore */
8655
8660
  automationProtocol
8656
8661
  )).default : WebDriver;
package/build/node.js CHANGED
@@ -119,8 +119,8 @@ async function uploadFile(localPath) {
119
119
  }
120
120
  const zipData = [];
121
121
  const source = fs5.createReadStream(localPath);
122
- return new Promise((resolve, reject) => {
123
- archiver("zip").on("error", (err) => reject(err)).on("data", (data) => zipData.push(data)).on("end", () => this.file(Buffer.concat(zipData).toString("base64")).then((localPath2) => resolve(localPath2), reject)).append(source, { name: path3.basename(localPath) }).finalize();
122
+ return new Promise((resolve2, reject) => {
123
+ archiver("zip").on("error", (err) => reject(err)).on("data", (data) => zipData.push(data)).on("end", () => this.file(Buffer.concat(zipData).toString("base64")).then((localPath2) => resolve2(localPath2), reject)).append(source, { name: path3.basename(localPath) }).finalize();
124
124
  });
125
125
  }
126
126
 
@@ -171,8 +171,7 @@ var SessionManager = class {
171
171
  return (
172
172
  // we are in a Bidi session
173
173
  this.#browser.isBidi && // we are not running unit tests
174
- !process.env.WDIO_UNIT_TESTS && // we are running a WebDriver session
175
- this.#browser.options?.automationProtocol === "webdriver"
174
+ !process.env.WDIO_UNIT_TESTS
176
175
  );
177
176
  }
178
177
  static getSessionManager(browser, Manager) {
@@ -722,25 +721,24 @@ var getElements = function getElements2(selector, elemResponse, props = { isReac
722
721
  };
723
722
 
724
723
  // src/constants.ts
724
+ import { resolve } from "import-meta-resolve";
725
725
  import { UNICODE_CHARACTERS, HOOK_DEFINITION } from "@wdio/utils";
726
- var SupportedAutomationProtocols = /* @__PURE__ */ ((SupportedAutomationProtocols2) => {
727
- SupportedAutomationProtocols2["webdriver"] = "webdriver";
728
- SupportedAutomationProtocols2["stub"] = "./protocol-stub.js";
729
- return SupportedAutomationProtocols2;
730
- })(SupportedAutomationProtocols || {});
731
726
  var WDIO_DEFAULTS = {
732
727
  /**
733
728
  * allows to specify automation protocol
734
729
  */
735
730
  automationProtocol: {
736
731
  type: "string",
737
- default: "webdriver" /* webdriver */,
732
+ default: "webdriver",
738
733
  validate: (param) => {
739
- if (param.endsWith("driver.js")) {
740
- return;
734
+ if (typeof param !== "string") {
735
+ throw new Error("automationProtocol should be a string");
741
736
  }
742
- if (!Object.values(SupportedAutomationProtocols).includes(param.toLowerCase())) {
743
- throw new Error(`Currently only "webdriver" and "devtools" is supported as automationProtocol, you set "${param}"`);
737
+ try {
738
+ resolve(param, import.meta.url);
739
+ } catch (err) {
740
+ const error = err instanceof Error ? err : new Error("unknown error");
741
+ throw new Error(`Couldn't find automation protocol "${param}": ${error.message}`);
744
742
  }
745
743
  }
746
744
  },
@@ -1547,7 +1545,7 @@ function debug(commandTimeout = 5e3) {
1547
1545
  });
1548
1546
  }
1549
1547
  });
1550
- return new Promise((resolve) => commandResolve = resolve);
1548
+ return new Promise((resolve2) => commandResolve = resolve2);
1551
1549
  }
1552
1550
 
1553
1551
  // src/commands/browser/deleteCookies.ts
@@ -3776,8 +3774,8 @@ var Timer = class {
3776
3774
  this._timeout = _timeout;
3777
3775
  this._fn = _fn;
3778
3776
  this._leading = _leading;
3779
- this.#retPromise = new Promise((resolve, reject) => {
3780
- this._resolve = resolve;
3777
+ this.#retPromise = new Promise((resolve2, reject) => {
3778
+ this._resolve = resolve2;
3781
3779
  this._reject = reject;
3782
3780
  });
3783
3781
  this._start();
@@ -4356,7 +4354,7 @@ async function newWindow(url2, { type = "window", windowName = "", windowFeature
4356
4354
 
4357
4355
  // src/commands/browser/pause.ts
4358
4356
  function pause(milliseconds = 1e3) {
4359
- return new Promise((resolve) => setTimeout(resolve, milliseconds));
4357
+ return new Promise((resolve2) => setTimeout(resolve2, milliseconds));
4360
4358
  }
4361
4359
 
4362
4360
  // src/commands/browser/react$$.ts
@@ -4946,7 +4944,7 @@ var Dialog = class {
4946
4944
 
4947
4945
  // src/session/index.ts
4948
4946
  function registerSessionManager(instance) {
4949
- if (instance.options.automationProtocol !== "webdriver") {
4947
+ if (typeof instance.capabilities.webSocketUrl !== "string") {
4950
4948
  return;
4951
4949
  }
4952
4950
  return Promise.all([
@@ -6379,18 +6377,26 @@ async function isDisplayed(commandParams = DEFAULT_PARAMS) {
6379
6377
  }
6380
6378
  return await this.isElementDisplayed(this.elementId);
6381
6379
  }
6382
- const isDisplayed2 = await browser.execute(function checkVisibility(elem, params) {
6383
- return elem.checkVisibility(params);
6384
- }, this, commandParams).catch((err) => {
6385
- if (err.message.includes("checkVisibility is not a function")) {
6386
- return browser.execute(isElementDisplayedLegacyScript, this);
6387
- }
6388
- throw err;
6389
- });
6390
- if (isDisplayed2 && commandParams?.withinViewport) {
6380
+ let hadToFallback = false;
6381
+ const [isDisplayed2, displayProperty] = await Promise.all([
6382
+ browser.execute(function checkVisibility(elem, params) {
6383
+ return elem.checkVisibility(params);
6384
+ }, this, commandParams).catch((err) => {
6385
+ if (err.message.includes("checkVisibility is not a function")) {
6386
+ hadToFallback = true;
6387
+ return browser.execute(isElementDisplayedLegacyScript, this);
6388
+ }
6389
+ throw err;
6390
+ }),
6391
+ this.getCSSProperty("display")
6392
+ ]);
6393
+ const hasDisplayContentsCSSProperty = displayProperty.value === "contents";
6394
+ const shouldRecheckContentVisibility = !hadToFallback && hasDisplayContentsCSSProperty;
6395
+ const finalResponse = shouldRecheckContentVisibility ? await browser.execute(isElementDisplayedLegacyScript, this).catch(() => false) : isDisplayed2;
6396
+ if (finalResponse && commandParams?.withinViewport) {
6391
6397
  return browser.execute(isElementInViewportScript, this);
6392
6398
  }
6393
- return isDisplayed2;
6399
+ return finalResponse;
6394
6400
  }
6395
6401
  var DEFAULT_PARAMS = {
6396
6402
  withinViewport: false,
@@ -8260,7 +8266,7 @@ function emulateSessionCapabilities(caps) {
8260
8266
  // src/utils/driver.ts
8261
8267
  var webdriverImport;
8262
8268
  async function getProtocolDriver(options) {
8263
- if (options.automationProtocol === "./protocol-stub.js" /* stub */) {
8269
+ if (isStub(options.automationProtocol)) {
8264
8270
  return { Driver: ProtocolStub, options };
8265
8271
  }
8266
8272
  if (typeof options.user === "string" && typeof options.key === "string") {
@@ -8303,7 +8309,7 @@ var remote = async function(params, remoteModifier) {
8303
8309
  };
8304
8310
  var attach = async function(attachOptions) {
8305
8311
  const params = {
8306
- automationProtocol: "webdriver" /* webdriver */,
8312
+ automationProtocol: "webdriver",
8307
8313
  ...attachOptions,
8308
8314
  ...detectBackend(attachOptions.options),
8309
8315
  capabilities: attachOptions.capabilities || {},
@@ -8336,7 +8342,7 @@ var multiremote = async function(params, { automationProtocol } = {}) {
8336
8342
  isW3C: multibrowser.instances[browserNames[0]].isW3C,
8337
8343
  logLevel: multibrowser.instances[browserNames[0]].options.logLevel
8338
8344
  };
8339
- const ProtocolDriver = automationProtocol && isStub(automationProtocol) ? (await import(
8345
+ const ProtocolDriver = typeof automationProtocol === "string" ? (await import(
8340
8346
  /* @vite-ignore */
8341
8347
  automationProtocol
8342
8348
  )).default : WebDriver;
@@ -1 +1 @@
1
- {"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../src/session/session.ts"],"names":[],"mappings":"AAEA,qBAAa,cAAc;;IAIvB;;;;;;OAMG;gBACS,OAAO,EAAE,WAAW,CAAC,OAAO,EAAE,KAAK,EAAE,MAAM;IAiBvD,eAAe;IAIf,UAAU,IAAI,OAAO;IAIrB;;OAEG;IACH,SAAS;IAWT,MAAM,CAAC,iBAAiB,CAAC,CAAC,SAAS,cAAc,EAAE,OAAO,EAAE,WAAW,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,OAAO,EAAE,WAAW,CAAC,OAAO,KAAK,CAAC,GAAG,CAAC;CAgBxI"}
1
+ {"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../src/session/session.ts"],"names":[],"mappings":"AAEA,qBAAa,cAAc;;IAIvB;;;;;;OAMG;gBACS,OAAO,EAAE,WAAW,CAAC,OAAO,EAAE,KAAK,EAAE,MAAM;IAiBvD,eAAe;IAIf,UAAU,IAAI,OAAO;IAIrB;;OAEG;IACH,SAAS;IAST,MAAM,CAAC,iBAAiB,CAAC,CAAC,SAAS,cAAc,EAAE,OAAO,EAAE,WAAW,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,OAAO,EAAE,WAAW,CAAC,OAAO,KAAK,CAAC,GAAG,CAAC;CAgBxI"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "webdriverio",
3
3
  "description": "Next-gen browser and mobile automation test framework for Node.js",
4
- "version": "9.6.0",
4
+ "version": "9.6.2",
5
5
  "homepage": "https://webdriver.io",
6
6
  "author": "Christian Bromann <mail@bromann.dev>",
7
7
  "license": "MIT",
@@ -45,7 +45,6 @@
45
45
  ],
46
46
  "main": "./build/index.cjs",
47
47
  "type": "module",
48
- "module": "./build/index.js",
49
48
  "exports": {
50
49
  ".": {
51
50
  "types": "./build/index.d.ts",
@@ -78,12 +77,12 @@
78
77
  "dependencies": {
79
78
  "@types/node": "^20.11.30",
80
79
  "@types/sinonjs__fake-timers": "^8.1.5",
81
- "@wdio/config": "9.5.0",
80
+ "@wdio/config": "9.6.2",
82
81
  "@wdio/logger": "9.4.4",
83
82
  "@wdio/protocols": "9.4.4",
84
83
  "@wdio/repl": "9.4.4",
85
- "@wdio/types": "9.5.0",
86
- "@wdio/utils": "9.5.0",
84
+ "@wdio/types": "9.6.2",
85
+ "@wdio/utils": "9.6.2",
87
86
  "archiver": "^7.0.1",
88
87
  "aria-query": "^5.3.0",
89
88
  "cheerio": "^1.0.0-rc.12",
@@ -102,7 +101,7 @@
102
101
  "rgb2hex": "0.2.5",
103
102
  "serialize-error": "^11.0.3",
104
103
  "urlpattern-polyfill": "^10.0.0",
105
- "webdriver": "9.6.0"
104
+ "webdriver": "9.6.2"
106
105
  },
107
106
  "peerDependencies": {
108
107
  "puppeteer-core": "^22.3.0"
@@ -112,5 +111,5 @@
112
111
  "optional": true
113
112
  }
114
113
  },
115
- "gitHead": "bea75d896564c2285012cd7c77948dce6ab45804"
114
+ "gitHead": "918477b20c54c27b98655b08f55a2a304495f0fa"
116
115
  }