webdriver 8.3.5 → 8.3.8

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/build/bidi.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- /// <reference types="node" resolution-mode="require"/>
1
+ /// <reference types="node" />
2
2
  import { EventEmitter } from 'node:events';
3
3
  import WebSocket from 'ws';
4
4
  import type { BidiRequest, BidiResponse } from '@wdio/protocols';
@@ -1,20 +1,2 @@
1
- import type { Options } from '@wdio/types';
2
- import type { Client, AttachOptions } from '../types.js';
3
- declare class WebDriver {
4
- static newSession(options: Options.WebDriver, modifier?: (...args: any[]) => any, userPrototype?: {}, customCommandWrapper?: (...args: any[]) => any): Promise<Client>;
5
- /**
6
- * allows user to attach to existing sessions
7
- */
8
- static attachToSession(options?: AttachOptions, modifier?: (...args: any[]) => any, userPrototype?: {}, commandWrapper?: (...args: any[]) => any): Promise<Client>;
9
- /**
10
- * Changes The instance session id and browser capabilities for the new session
11
- * directly into the passed in browser object
12
- *
13
- * @param {object} instance the object we get from a new browser session.
14
- * @returns {string} the new session id of the browser
15
- */
16
- static reloadSession(instance: Client): Promise<string>;
17
- static get WebDriver(): typeof WebDriver;
18
- }
19
- export = WebDriver;
1
+ export {};
20
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cjs/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAE1C,OAAO,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAExD,cAAM,SAAS;WACE,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;IAKlB;;OAEG;WACU,eAAe,CACxB,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,OAAO,CAAC,MAAM,CAAC;IAKlB;;;;;;OAMG;WACU,aAAa,CAAC,QAAQ,EAAE,MAAM;IAK3C,MAAM,KAAK,SAAS,qBAEnB;CACJ;AAED,SAAS,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cjs/index.ts"],"names":[],"mappings":""}
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  class WebDriver {
3
2
  static async newSession(options, modifier, userPrototype = {}, customCommandWrapper) {
4
3
  const WebDriver = (await import('../index.js')).default;
@@ -27,3 +26,4 @@ class WebDriver {
27
26
  }
28
27
  }
29
28
  module.exports = WebDriver;
29
+
@@ -1,4 +1,4 @@
1
- /// <reference types="node" resolution-mode="require"/>
1
+ /// <reference types="node" />
2
2
  import type { URL as URLType } from 'node:url';
3
3
  import type WebDriverRequest from './index.js';
4
4
  export default class RequestFactory {
@@ -1,5 +1,5 @@
1
- /// <reference types="node" resolution-mode="require"/>
2
- /// <reference types="node" resolution-mode="require"/>
1
+ /// <reference types="node" />
2
+ /// <reference types="node" />
3
3
  import { EventEmitter } from 'node:events';
4
4
  import type { URL } from 'node:url';
5
5
  import type { Options } from '@wdio/types';
@@ -1,4 +1,4 @@
1
- /// <reference types="node" resolution-mode="require"/>
1
+ /// <reference types="node" />
2
2
  import type { URL } from 'node:url';
3
3
  import type { Options } from '@wdio/types';
4
4
  import WebDriverRequest from './index.js';
package/build/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- /// <reference types="node" resolution-mode="require"/>
1
+ /// <reference types="node" />
2
2
  import type { EventEmitter } from 'node:events';
3
3
  import type { Options, Capabilities } from '@wdio/types';
4
4
  import type { ProtocolCommands } from '@wdio/protocols';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webdriver",
3
- "version": "8.3.5",
3
+ "version": "8.3.8",
4
4
  "description": "A Node.js bindings implementation for the W3C WebDriver and Mobile JSONWire Protocol",
5
5
  "author": "Christian Bromann <mail@bromann.dev>",
6
6
  "homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/webdriver",
@@ -47,5 +47,5 @@
47
47
  "ky": "^0.33.0",
48
48
  "ws": "^8.8.0"
49
49
  },
50
- "gitHead": "cc6deb72e7c4f064074ca8a2e101da7c08db8b4b"
50
+ "gitHead": "a32ecf2abb9202d532fb98b7c23ceed9dbb2f6ee"
51
51
  }