Skip to content
masterclass Buddy

Playwright · Method

page.waitForRequest

page.waitForRequest() waits for a request that matches a URL, regular expression, or predicate. It returns the matching Request object.

Last updated

Syntax

page.waitForRequest(urlOrPredicate, options?)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • Page.waitForResponse
  • Page.waitForEvent
  • Page.on
  • Request

Source: Page | Playwright. Checked 2026-11-03.