We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a72e1fa commit 9550b9bCopy full SHA for 9550b9b
docs/sources/k6/next/javascript-api/k6-browser/page/waitforresponse.md
@@ -72,6 +72,8 @@ export default async function () {
72
73
1. **Set up promise before trigger**: Always set up the `waitForResponse` promise before triggering the action that causes the request:
74
75
+ <!-- md-k6:skip -->
76
+
77
```javascript
78
// Correct
79
const responsePromise = page.waitForResponse('/api/data');
0 commit comments