From eba2bdffb9665202f52fb0f9fbfff2ccd2d102a4 Mon Sep 17 00:00:00 2001 From: Stuart Lang Date: Fri, 24 Jun 2022 14:06:57 +0100 Subject: [PATCH] docs: fix typo: surved -> served (#15105) --- docs/src/api/class-browsercontext.md | 2 +- docs/src/api/class-page.md | 2 +- packages/playwright-core/types/types.d.ts | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/src/api/class-browsercontext.md b/docs/src/api/class-browsercontext.md index f7ddeb581f..f961e5b1e4 100644 --- a/docs/src/api/class-browsercontext.md +++ b/docs/src/api/class-browsercontext.md @@ -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 diff --git a/docs/src/api/class-page.md b/docs/src/api/class-page.md index 32e4e1b4b0..bdbf9ad905 100644 --- a/docs/src/api/class-page.md +++ b/docs/src/api/class-page.md @@ -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]> diff --git a/packages/playwright-core/types/types.d.ts b/packages/playwright-core/types/types.d.ts index 3e84f3b9bf..6fdaa75deb 100644 --- a/packages/playwright-core/types/types.d.ts +++ b/packages/playwright-core/types/types.d.ts @@ -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; @@ -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;