docs: fix typo: surved -> served (#15105)

This commit is contained in:
Stuart Lang 2022-06-24 14:06:57 +01:00 committed by GitHub
parent 997aac59ff
commit eba2bdffb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -1047,7 +1047,7 @@ Defaults to abort.
### option: BrowserContext.routeFromHAR.url
- `url` <[string]|[RegExp]|[function]\([URL]\):[boolean]>
A glob pattern, regular expression or predicate to match the request URL. Only requests with URL matching the pattern will be surved from the HAR file. If not specified, all requests are served from the HAR file.
A glob pattern, regular expression or predicate to match the request URL. Only requests with URL matching the pattern will be served from the HAR file. If not specified, all requests are served from the HAR file.
## method: BrowserContext.serviceWorkers
* langs: js, python

View File

@ -2754,7 +2754,7 @@ Defaults to abort.
### option: Page.routeFromHAR.url
- `url` <[string]|[RegExp]|[function]\([URL]\):[boolean]>
A glob pattern, regular expression or predicate to match the request URL. Only requests with URL matching the pattern will be surved from the HAR file. If not specified, all requests are served from the HAR file.
A glob pattern, regular expression or predicate to match the request URL. Only requests with URL matching the pattern will be served from the HAR file. If not specified, all requests are served from the HAR file.
## async method: Page.screenshot
- returns: <[Buffer]>

View File

@ -3187,7 +3187,7 @@ export interface Page {
/**
* A glob pattern, regular expression or predicate to match the request URL. Only requests with URL matching the pattern
* will be surved from the HAR file. If not specified, all requests are served from the HAR file.
* will be served from the HAR file. If not specified, all requests are served from the HAR file.
*/
url?: string|RegExp|((url: URL) => boolean);
}): Promise<void>;
@ -7139,7 +7139,7 @@ export interface BrowserContext {
/**
* A glob pattern, regular expression or predicate to match the request URL. Only requests with URL matching the pattern
* will be surved from the HAR file. If not specified, all requests are served from the HAR file.
* will be served from the HAR file. If not specified, all requests are served from the HAR file.
*/
url?: string|RegExp|((url: URL) => boolean);
}): Promise<void>;