webdriver 9.9.0 → 9.9.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.
package/build/index.js CHANGED
@@ -1579,7 +1579,7 @@ var WebDriverResponseError = class _WebDriverResponseError extends WebDriverErro
1579
1579
  // package.json
1580
1580
  var package_default = {
1581
1581
  name: "webdriver",
1582
- version: "9.7.3",
1582
+ version: "9.9.0",
1583
1583
  description: "A Node.js bindings implementation for the W3C WebDriver and Mobile JSONWire Protocol",
1584
1584
  author: "Christian Bromann <mail@bromann.dev>",
1585
1585
  homepage: "https://github.com/webdriverio/webdriverio/tree/main/packages/webdriver",
@@ -1665,6 +1665,7 @@ var WebDriverRequest = class {
1665
1665
  const timeout = options.connectionRetryTimeout || DEFAULTS.connectionRetryTimeout.default;
1666
1666
  const requestOptions = {
1667
1667
  method: this.method,
1668
+ redirect: "follow",
1668
1669
  signal: AbortSignal.timeout(timeout)
1669
1670
  };
1670
1671
  const requestHeaders = new Headers({
@@ -1704,7 +1705,8 @@ var WebDriverRequest = class {
1704
1705
  method: opts.method,
1705
1706
  body: JSON.stringify(opts.body),
1706
1707
  headers: opts.headers,
1707
- signal: opts.signal
1708
+ signal: opts.signal,
1709
+ redirect: opts.redirect
1708
1710
  });
1709
1711
  const resp = response.clone();
1710
1712
  return {
package/build/node.js CHANGED
@@ -1518,7 +1518,7 @@ var WebDriverResponseError = class _WebDriverResponseError extends WebDriverErro
1518
1518
  // package.json
1519
1519
  var package_default = {
1520
1520
  name: "webdriver",
1521
- version: "9.7.3",
1521
+ version: "9.9.0",
1522
1522
  description: "A Node.js bindings implementation for the W3C WebDriver and Mobile JSONWire Protocol",
1523
1523
  author: "Christian Bromann <mail@bromann.dev>",
1524
1524
  homepage: "https://github.com/webdriverio/webdriverio/tree/main/packages/webdriver",
@@ -1603,6 +1603,7 @@ var WebDriverRequest = class {
1603
1603
  const timeout = options.connectionRetryTimeout || DEFAULTS.connectionRetryTimeout.default;
1604
1604
  const requestOptions = {
1605
1605
  method: this.method,
1606
+ redirect: "follow",
1606
1607
  signal: AbortSignal.timeout(timeout)
1607
1608
  };
1608
1609
  const requestHeaders = new Headers({
@@ -1641,7 +1642,8 @@ var WebDriverRequest = class {
1641
1642
  method: opts.method,
1642
1643
  body: JSON.stringify(opts.body),
1643
1644
  headers: opts.headers,
1644
- signal: opts.signal
1645
+ signal: opts.signal,
1646
+ redirect: opts.redirect
1645
1647
  });
1646
1648
  const resp = response.clone();
1647
1649
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../src/request/request.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAI1C,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAA;AAoB5G,8BAAsB,gBAAgB;IAClC,SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC,QAAQ,CAAC;IAExE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC9B,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,YAAY,EAAE,OAAO,CAAA;IACrB,iBAAiB,EAAE,OAAO,CAAA;IAC1B,YAAY,EAAE,mBAAmB,CAAA;gBAEpB,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY,GAAE,OAAe,EAAE,YAAY,GAAE,mBAAwB;IAS9I,WAAW,CAAE,OAAO,EAAE,cAAc,EAAE,SAAS,CAAC,EAAE,MAAM;IAMxD,aAAa,CAAE,OAAO,EAAE,cAAc,EAAE,SAAS,CAAC,EAAE,MAAM,EAAE,SAAS,GAAE,O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SAAS,CAAC,EAAE,MAAM;IAMxD,aAAa,CAAE,OAAO,EAAE,cAAc,EAAE,SAAS,CAAC,EAAE,MAAM,EAAE,SAAS,GAAE,OAAe,GAAG,OAAO,CAAC;QAAC,GAAG,EAAE,GAAG,CAAC;QAAC,cAAc,EAAE,WAAW,CAAC;KAAC,CAAC;cA4DhI,WAAW,CAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC,kBAAkB,CAAC;cA8B9E,QAAQ,CACpB,GAAG,EAAE,GAAG,EACR,kBAAkB,EAAE,WAAW,EAC/B,iBAAiB,CAAC,EAAE,CAAC,QAAQ,EAAE,kBAAkB,EAAE,cAAc,EAAE,WAAW,KAAK,kBAAkB,EACrG,eAAe,SAAI,EACnB,UAAU,SAAI,GACf,OAAO,CAAC,iBAAiB,CAAC;CA0HhC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webdriver",
3
- "version": "9.9.0",
3
+ "version": "9.9.1",
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": "620e092391d7bcc71cd7cd55ad146ad72e522da9"
50
+ "gitHead": "a7f0c07b223c9a4a7774fead36ec82296a99177f"
51
51
  }