playwright-core 1.57.0-alpha-2025-11-20 → 1.57.0-beta-1763718928000

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/browsers.json CHANGED
@@ -27,15 +27,15 @@
27
27
  },
28
28
  {
29
29
  "name": "firefox",
30
- "revision": "1496",
30
+ "revision": "1497",
31
31
  "installByDefault": true,
32
- "browserVersion": "142.0.1"
32
+ "browserVersion": "144.0.2"
33
33
  },
34
34
  {
35
35
  "name": "firefox-beta",
36
- "revision": "1491",
36
+ "revision": "1493",
37
37
  "installByDefault": false,
38
- "browserVersion": "143.0b10"
38
+ "browserVersion": "145.0b10"
39
39
  },
40
40
  {
41
41
  "name": "webkit",
@@ -85,15 +85,6 @@ class Request extends import_channelOwner.ChannelOwner {
85
85
  method() {
86
86
  return this._fallbackOverrides.method || this._initializer.method;
87
87
  }
88
- async body() {
89
- return (this._fallbackOverrides.postDataBuffer || (await this._channel.body()).body)?.toString("utf-8") || null;
90
- }
91
- async bodyBuffer() {
92
- return this._fallbackOverrides.postDataBuffer || (await this._channel.body()).body || null;
93
- }
94
- async bodyJSON() {
95
- return this._postDataJSON(await this.body());
96
- }
97
88
  postData() {
98
89
  return (this._fallbackOverrides.postDataBuffer || this._initializer.postData)?.toString("utf-8") || null;
99
90
  }
@@ -102,9 +93,6 @@ class Request extends import_channelOwner.ChannelOwner {
102
93
  }
103
94
  postDataJSON() {
104
95
  const postData = this.postData();
105
- return this._postDataJSON(postData);
106
- }
107
- _postDataJSON(postData) {
108
96
  if (!postData)
109
97
  return null;
110
98
  const contentType = this.headers()["content-type"];
@@ -2237,10 +2237,6 @@ import_validatorPrimitives.scheme.RequestInitializer = (0, import_validatorPrimi
2237
2237
  hasResponse: import_validatorPrimitives.tBoolean
2238
2238
  });
2239
2239
  import_validatorPrimitives.scheme.RequestResponseEvent = (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tObject)({}));
2240
- import_validatorPrimitives.scheme.RequestBodyParams = (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tObject)({}));
2241
- import_validatorPrimitives.scheme.RequestBodyResult = (0, import_validatorPrimitives.tObject)({
2242
- body: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBinary)
2243
- });
2244
2240
  import_validatorPrimitives.scheme.RequestResponseParams = (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tObject)({}));
2245
2241
  import_validatorPrimitives.scheme.RequestResponseResult = (0, import_validatorPrimitives.tObject)({
2246
2242
  response: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tChannel)(["Response"]))
@@ -1702,7 +1702,7 @@
1702
1702
  "defaultBrowserType": "chromium"
1703
1703
  },
1704
1704
  "Desktop Firefox HiDPI": {
1705
- "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:142.0.1) Gecko/20100101 Firefox/142.0.1",
1705
+ "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:144.0.2) Gecko/20100101 Firefox/144.0.2",
1706
1706
  "screen": {
1707
1707
  "width": 1792,
1708
1708
  "height": 1120
@@ -1762,7 +1762,7 @@
1762
1762
  "defaultBrowserType": "chromium"
1763
1763
  },
1764
1764
  "Desktop Firefox": {
1765
- "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:142.0.1) Gecko/20100101 Firefox/142.0.1",
1765
+ "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:144.0.2) Gecko/20100101 Firefox/144.0.2",
1766
1766
  "screen": {
1767
1767
  "width": 1920,
1768
1768
  "height": 1080
@@ -61,10 +61,6 @@ class RequestDispatcher extends import_dispatcher.Dispatcher {
61
61
  this._browserContextDispatcher = scope;
62
62
  this.addObjectListener(import_network2.Request.Events.Response, () => this._dispatchEvent("response", {}));
63
63
  }
64
- async body(params, progress) {
65
- const postData = this._object.postDataBuffer();
66
- return { body: postData === null ? void 0 : postData };
67
- }
68
64
  async rawRequestHeaders(params, progress) {
69
65
  return { headers: await progress.race(this._object.rawRequestHeaders()) };
70
66
  }
@@ -241,7 +241,6 @@ const methodMetainfo = /* @__PURE__ */ new Map([
241
241
  ["ElementHandle.uncheck", { title: "Uncheck", slowMo: true, snapshot: true, pausesBeforeInput: true }],
242
242
  ["ElementHandle.waitForElementState", { title: "Wait for state", snapshot: true, pausesBeforeAction: true }],
243
243
  ["ElementHandle.waitForSelector", { title: "Wait for selector", snapshot: true }],
244
- ["Request.body", { title: "Get request body", group: "getter" }],
245
244
  ["Request.response", { internal: true }],
246
245
  ["Request.rawRequestHeaders", { internal: true }],
247
246
  ["Route.redirectNavigationRequest", { internal: true }],