You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[request.size()](/javascript-api/k6-experimental/browser/request/size)| Unlike Playwright this method returns an object containing the sizes of request headers and body. |
25
+
|[request.size()](/javascript-api/k6-experimental/browser/request/size)| Unlike Playwright, this method returns an object containing the sizes of request headers and body. |
Copy file name to clipboardExpand all lines: src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/11 Request/size.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: 'size()'
3
3
excerpt: 'Browser module: Request.size method'
4
4
---
5
5
6
-
Similar to Playwright's [`request.sizes()`](https://playwright.dev/docs/api/class-request#request-sizes) this method returns the size (in bytes) of body and header sections of the [Request](/javascript-api/k6-experimental/browser/request).
6
+
Similar to Playwright's [`request.sizes()`](https://playwright.dev/docs/api/class-request#request-sizes), this method returns the size (in bytes) of body and header sections of the [Request](/javascript-api/k6-experimental/browser/request).
| response.size() | - | Similar to [`Request.size()`](/javascript-api/k6-experimental/browser/request/size) returns the size of response headers and body sections. |
26
+
| response.size() | - | Similar to [`Request.size()`](/javascript-api/k6-experimental/browser/request/size), this returns the size of response headers and body sections. |
0 commit comments