webdriver 9.12.3 → 9.12.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/build/index.js CHANGED
@@ -1643,7 +1643,7 @@ var WebDriverResponseError = class _WebDriverResponseError extends WebDriverErro
1643
1643
  // package.json
1644
1644
  var package_default = {
1645
1645
  name: "webdriver",
1646
- version: "9.12.2",
1646
+ version: "9.12.3",
1647
1647
  description: "A Node.js bindings implementation for the W3C WebDriver and Mobile JSONWire Protocol",
1648
1648
  author: "Christian Bromann <mail@bromann.dev>",
1649
1649
  homepage: "https://github.com/webdriverio/webdriverio/tree/main/packages/webdriver",
package/build/node.js CHANGED
@@ -1575,7 +1575,7 @@ var WebDriverResponseError = class _WebDriverResponseError extends WebDriverErro
1575
1575
  // package.json
1576
1576
  var package_default = {
1577
1577
  name: "webdriver",
1578
- version: "9.12.2",
1578
+ version: "9.12.3",
1579
1579
  description: "A Node.js bindings implementation for the W3C WebDriver and Mobile JSONWire Protocol",
1580
1580
  author: "Christian Bromann <mail@bromann.dev>",
1581
1581
  homepage: "https://github.com/webdriverio/webdriverio/tree/main/packages/webdriver",
@@ -1827,7 +1827,12 @@ var FetchRequest = class extends WebDriverRequest {
1827
1827
  }
1828
1828
  async createOptions(options, sessionId, isBrowser = false) {
1829
1829
  const { url, requestOptions } = await super.createOptions(options, sessionId, isBrowser);
1830
- const dispatcher = environment.value.variables.PROXY_URL ? new ProxyAgent(environment.value.variables.PROXY_URL) : new Agent({
1830
+ const dispatcher = environment.value.variables.PROXY_URL ? new ProxyAgent({
1831
+ uri: environment.value.variables.PROXY_URL,
1832
+ connectTimeout: options.connectionRetryTimeout,
1833
+ headersTimeout: options.connectionRetryTimeout,
1834
+ bodyTimeout: options.connectionRetryTimeout
1835
+ }) : new Agent({
1831
1836
  connectTimeout: options.connectionRetryTimeout,
1832
1837
  headersTimeout: options.connectionRetryTimeout,
1833
1838
  bodyTimeout: options.connectionRetryTimeout
@@ -1 +1 @@
1
- {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../src/request/node.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAC/C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAMhD;;GAEG;AACH,qBAAa,YAAa,SAAQ,gBAAgB;IAC9C,KAAK,CAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,WAAW,GAC6B,OAAO,CAAC,QAAQ,CAAC;IAG1E,aAAa,CAAE,OAAO,EAAE,cAAc,EAAE,SAAS,CAAC,EAAE,MAAM,EAAE,SAAS,GAAE,OAAe;;;;CAiB/F"}
1
+ {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../src/request/node.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAC/C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAMhD;;GAEG;AACH,qBAAa,YAAa,SAAQ,gBAAgB;IAC9C,KAAK,CAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,WAAW,GAC6B,OAAO,CAAC,QAAQ,CAAC;IAG1E,aAAa,CAAE,OAAO,EAAE,cAAc,EAAE,SAAS,CAAC,EAAE,MAAM,EAAE,SAAS,GAAE,OAAe;;;;CAsB/F"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webdriver",
3
- "version": "9.12.3",
3
+ "version": "9.12.4",
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
  "undici": "^6.20.1",
48
48
  "ws": "^8.8.0"
49
49
  },
50
- "gitHead": "1c5b2a9a4aa8f7edf9e6463805d531eef8cefd66"
50
+ "gitHead": "fb6a67317881a8d5702fa32091c15ade940dc992"
51
51
  }