From fa89b9a554f982f57ea2ddf7f03a57dc938d7c52 Mon Sep 17 00:00:00 2001 From: Pavel Feldman Date: Mon, 23 Aug 2021 13:34:38 -0700 Subject: [PATCH] docs: spelling --- docs/src/api/class-browsercontext.md | 2 +- types/types.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/api/class-browsercontext.md b/docs/src/api/class-browsercontext.md index 97d29a1230..371ca53b90 100644 --- a/docs/src/api/class-browsercontext.md +++ b/docs/src/api/class-browsercontext.md @@ -836,7 +836,7 @@ Returns the newly created session. ### param: BrowserContext.newCDPSession.page - `page` <[Page]|[Frame]> -Target to create new session for. For backwards-compatability, this parameter is +Target to create new session for. For backwards-compatibility, this parameter is named `page`, but it can be a `Page` or `Frame` type. ## async method: BrowserContext.newPage diff --git a/types/types.d.ts b/types/types.d.ts index 525ed4e374..2161c13e64 100644 --- a/types/types.d.ts +++ b/types/types.d.ts @@ -5478,7 +5478,7 @@ export interface BrowserContext { * > NOTE: CDP sessions are only supported on Chromium-based browsers. * * Returns the newly created session. - * @param page Target to create new session for. For backwards-compatability, this parameter is named `page`, but it can be a `Page` or `Frame` type. + * @param page Target to create new session for. For backwards-compatibility, this parameter is named `page`, but it can be a `Page` or `Frame` type. */ newCDPSession(page: Page|Frame): Promise;