puppeteer/new-docs/puppeteer.page.create.md

26 lines
753 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Page](./puppeteer.page.md) &gt; [create](./puppeteer.page.create.md)
## Page.create() method
<b>Signature:</b>
```typescript
static create(client: CDPSession, target: Target, ignoreHTTPSErrors: boolean, defaultViewport: Viewport | null): Promise<Page>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| client | [CDPSession](./puppeteer.cdpsession.md) | |
| target | [Target](./puppeteer.target.md) | |
| ignoreHTTPSErrors | boolean | |
| defaultViewport | Viewport \| null | |
<b>Returns:</b>
Promise&lt;[Page](./puppeteer.page.md)<!-- -->&gt;