docs: fixed wrong waitForRequestFinished description (#6808)

This commit is contained in:
Max Schmitt 2021-05-31 09:54:20 -07:00 committed by GitHub
parent d6fe9f0b84
commit 47d4d473d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3422,7 +3422,7 @@ Will throw an error if the page is closed before the [`event: Page.requestFinish
### option: Page.waitForRequestFinished.predicate =
- `predicate` <[function]\([Request]\):[boolean]>
Receives the [ConsoleMessage] object and resolves to truthy value when the waiting should resolve.
Receives the [Request] object and resolves to truthy value when the waiting should resolve.
### option: Page.waitForRequestFinished.timeout = %%-wait-for-event-timeout-%%