Skip to content

Commit 3a36fe9

Browse files
committed
Update methods list for k6 browser Response type
1 parent 6291389 commit 3a36fe9

File tree

1 file changed

+18
-18
lines changed
  • src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser

1 file changed

+18
-18
lines changed

src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/12-response.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@ excerpt: "Browser module: Response Class"
77

88
## Supported APIs
99

10-
| Method | Playwright Relevant Distinctions |
11-
| - | - |
12-
| <a href="https://playwright.dev/docs/api/class-response#response-all-headers" target="_blank" >response.allHeaders()</a> | - |
13-
| <a href="https://playwright.dev/docs/api/class-response#response-body" target="_blank" >response.body()</a> | - |
14-
| <a href="https://playwright.dev/docs/api/class-response#response-frame" target="_blank" >response.frame()</a> | - |
15-
| <a href="https://playwright.dev/docs/api/class-response#response-headers" target="_blank" >response.headers()</a> | - |
16-
| <a href="https://playwright.dev/docs/api/class-response#response-headers-array" target="_blank" >response.headersArray()</a> | - |
17-
| <a href="https://playwright.dev/docs/api/class-response#response-header-value" target="_blank" >response.headerValue(name)</a> | - |
18-
| <a href="https://playwright.dev/docs/api/class-response#response-header-values" target="_blank" >response.headerValues(name)</a> | - |
19-
| <a href="https://playwright.dev/docs/api/class-response#response-json" target="_blank" >response.json()</a> | - |
20-
| <a href="https://playwright.dev/docs/api/class-response#response-ok" target="_blank" >response.ok()</a> | - |
21-
| <a href="https://playwright.dev/docs/api/class-response#response-request" target="_blank" >response.request()</a> | - |
22-
| <a href="https://playwright.dev/docs/api/class-response#response-security-details" target="_blank" >response.securityDetails()</a> | - |
23-
| <a href="https://playwright.dev/docs/api/class-response#response-server-addr" target="_blank" >response.serverAddr()</a> | - |
24-
| <a href="https://playwright.dev/docs/api/class-response#response-status" target="_blank" >response.status()</a> | - |
25-
| <a href="https://playwright.dev/docs/api/class-response#response-status-text" target="_blank" >response.statusText()</a> | - |
26-
| <a href="https://playwright.dev/docs/api/class-response#response-text" target="_blank" >response.text()</a> | - |
27-
| <a href="https://playwright.dev/docs/api/class-response#response-url" target="_blank" >response.url()</a> | - |
10+
| Method | Playwright Relevant Distinctions | Description |
11+
| - | - | - |
12+
| <a href="https://playwright.dev/docs/api/class-response#response-all-headers" target="_blank" >response.allHeaders()</a> | - | - |
13+
| <a href="https://playwright.dev/docs/api/class-response#response-body" target="_blank" >response.body()</a> | - | - |
14+
| <a href="https://playwright.dev/docs/api/class-response#response-frame" target="_blank" >response.frame()</a> | - | - |
15+
| <a href="https://playwright.dev/docs/api/class-response#response-headers" target="_blank" >response.headers()</a> | - | - |
16+
| <a href="https://playwright.dev/docs/api/class-response#response-headers-array" target="_blank" >response.headersArray()</a> | - | - |
17+
| <a href="https://playwright.dev/docs/api/class-response#response-header-value" target="_blank" >response.headerValue(name)</a> | - | - |
18+
| <a href="https://playwright.dev/docs/api/class-response#response-header-values" target="_blank" >response.headerValues(name)</a> | - | - |
19+
| <a href="https://playwright.dev/docs/api/class-response#response-json" target="_blank" >response.json()</a> | - | - |
20+
| <a href="https://playwright.dev/docs/api/class-response#response-ok" target="_blank" >response.ok()</a> | - | - |
21+
| <a href="https://playwright.dev/docs/api/class-response#response-request" target="_blank" >response.request()</a> | - | - |
22+
| <a href="https://playwright.dev/docs/api/class-response#response-security-details" target="_blank" >response.securityDetails()</a> | - | - |
23+
| <a href="https://playwright.dev/docs/api/class-response#response-server-addr" target="_blank" >response.serverAddr()</a> | - | - |
24+
| <a href="https://playwright.dev/docs/api/class-response#response-status" target="_blank" >response.status()</a> | - | - |
25+
| <a href="https://playwright.dev/docs/api/class-response#response-status-text" target="_blank" >response.statusText()</a> | - | - |
26+
| response.size() | - | Similar to [`Request.size()`](/javascript-api/k6-experimental/browser/request/ returns the size of response headers and body sections, e.g. `{ headers: 100, body: 200 }` |
27+
| <a href="https://playwright.dev/docs/api/class-response#response-url" target="_blank" >response.url()</a> | - | - |

0 commit comments

Comments
 (0)