docs: spelling

This commit is contained in:
Pavel Feldman 2021-08-23 13:34:38 -07:00
parent 827a909d36
commit fa89b9a554
2 changed files with 2 additions and 2 deletions

View file

@ -836,7 +836,7 @@ Returns the newly created session.
### param: BrowserContext.newCDPSession.page ### param: BrowserContext.newCDPSession.page
- `page` <[Page]|[Frame]> - `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. named `page`, but it can be a `Page` or `Frame` type.
## async method: BrowserContext.newPage ## async method: BrowserContext.newPage

2
types/types.d.ts vendored
View file

@ -5478,7 +5478,7 @@ export interface BrowserContext {
* > NOTE: CDP sessions are only supported on Chromium-based browsers. * > NOTE: CDP sessions are only supported on Chromium-based browsers.
* *
* Returns the newly created session. * 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<CDPSession>; newCDPSession(page: Page|Frame): Promise<CDPSession>;