docs: spelling
This commit is contained in:
parent
827a909d36
commit
fa89b9a554
|
|
@ -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
|
||||
|
|
|
|||
2
types/types.d.ts
vendored
2
types/types.d.ts
vendored
|
|
@ -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<CDPSession>;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue