webdriver 7.0.4 → 7.2.1

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.
@@ -1,5 +1,5 @@
1
- import Protocols from '@wdio/protocols';
1
+ import type { CommandEndpoint } from '@wdio/protocols';
2
2
  import { WebDriverResponse } from './request';
3
3
  import { BaseClient } from './types';
4
- export default function (method: string, endpointUri: string, commandInfo: Protocols.CommandEndpoint, doubleEncodeVariables?: boolean): (this: BaseClient, ...args: any[]) => Promise<WebDriverResponse>;
4
+ export default function (method: string, endpointUri: string, commandInfo: CommandEndpoint, doubleEncodeVariables?: boolean): (this: BaseClient, ...args: any[]) => Promise<WebDriverResponse>;
5
5
  //# sourceMappingURL=command.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../src/command.ts"],"names":[],"mappings":"AAEA,OAAO,SAAS,MAAM,iBAAiB,CAAA;AAEvC,OAAyB,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAIpC,MAAM,CAAC,OAAO,WACV,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,SAAS,CAAC,eAAe,EACtC,qBAAqB,UAAQ,UAIU,UAAU,WAAW,GAAG,EAAE,KAAG,QAAQ,iBAAiB,CAAC,CA0FjG"}
1
+ {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../src/command.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEtD,OAAyB,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAIpC,MAAM,CAAC,OAAO,WACV,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,eAAe,EAC5B,qBAAqB,UAAQ,UAIU,UAAU,WAAW,GAAG,EAAE,KAAG,QAAQ,iBAAiB,CAAC,CA0FjG"}
package/build/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import type { Options } from '@wdio/types';
2
+ import command from './command';
2
3
  import { DEFAULTS } from './constants';
3
4
  import { getPrototype } from './utils';
4
5
  import type { Client, AttachOptions } from './types';
@@ -21,6 +22,6 @@ export default class WebDriver {
21
22
  /**
22
23
  * Helper methods consumed by webdriverio package
23
24
  */
24
- export { getPrototype, DEFAULTS };
25
+ export { getPrototype, DEFAULTS, command };
25
26
  export * from './types';
26
27
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,OAAO,EAAgB,MAAM,aAAa,CAAA;AAExD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AACtC,OAAO,EAAyB,YAAY,EAAsB,MAAM,SAAS,CAAA;AACjF,OAAO,KAAK,EAAE,MAAM,EAAE,aAAa,EAAgB,MAAM,SAAS,CAAA;AAIlE,MAAM,CAAC,OAAO,OAAO,SAAS;WACb,UAAU,CACnB,OAAO,EAAE,OAAO,CAAC,SAAS,EAC1B,QAAQ,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EAClC,aAAa,KAAK,EAClB,oBAAoB,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,GAC/C,OAAO,CAAC,MAAM,CAAC;IAgDlB;;OAEG;IACH,MAAM,CAAC,eAAe,CAClB,OAAO,CAAC,EAAE,aAAa,EACvB,QAAQ,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EAClC,aAAa,KAAK,EAClB,cAAc,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,GACzC,MAAM;IAoBT;;;;;;MAME;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 +13,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
13
13
  return (mod && mod.__esModule) ? mod : { "default": mod };
14
14
  };
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.DEFAULTS = exports.getPrototype = void 0;
16
+ exports.command = exports.DEFAULTS = exports.getPrototype = void 0;
17
17
  const path_1 = __importDefault(require("path"));
18
18
  const logger_1 = __importDefault(require("@wdio/logger"));
19
19
  const utils_1 = require("@wdio/utils");
20
20
  const config_1 = require("@wdio/config");
21
+ const command_1 = __importDefault(require("./command"));
22
+ exports.command = command_1.default;
21
23
  const constants_1 = require("./constants");
22
24
  Object.defineProperty(exports, "DEFAULTS", { enumerable: true, get: function () { return constants_1.DEFAULTS; } });
23
25
  const utils_2 = require("./utils");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webdriver",
3
- "version": "7.0.4",
3
+ "version": "7.2.1",
4
4
  "description": "A Node.js bindings implementation for the W3C WebDriver and Mobile JSONWire Protocol",
5
5
  "author": "Christian Bromann <christian@saucelabs.com>",
6
6
  "homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/webdriver",
@@ -25,13 +25,13 @@
25
25
  "@types/lodash.merge": "^4.6.6"
26
26
  },
27
27
  "dependencies": {
28
- "@wdio/config": "7.0.4",
28
+ "@wdio/config": "7.2.1",
29
29
  "@wdio/logger": "7.0.0",
30
- "@wdio/protocols": "7.0.0",
31
- "@wdio/types": "7.0.4",
32
- "@wdio/utils": "7.0.4",
30
+ "@wdio/protocols": "7.1.1",
31
+ "@wdio/types": "7.2.1",
32
+ "@wdio/utils": "7.2.1",
33
33
  "got": "^11.0.2",
34
34
  "lodash.merge": "^4.6.1"
35
35
  },
36
- "gitHead": "932f9694dc1cb3239b2f0b1eab73834419f2fe48"
36
+ "gitHead": "aa35412bc2f9a1591ace955f91ee7e7eef278ee5"
37
37
  }