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.
SubscribeRelated
Page.waitForResponsePage.waitForEventPage.onRequest