mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
28 lines
897 B
Markdown
28 lines
897 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Browser](./puppeteer.browser.md) > [create](./puppeteer.browser.create.md)
|
||
|
|
||
|
## Browser.create() method
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
static create(connection: Connection, contextIds: string[], ignoreHTTPSErrors: boolean, defaultViewport?: Viewport, process?: ChildProcess, closeCallback?: BrowserCloseCallback): Promise<Browser>;
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| connection | [Connection](./puppeteer.connection.md) | |
|
||
|
| contextIds | string\[\] | |
|
||
|
| ignoreHTTPSErrors | boolean | |
|
||
|
| defaultViewport | Viewport | |
|
||
|
| process | ChildProcess | |
|
||
|
| closeCallback | BrowserCloseCallback | |
|
||
|
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
Promise<[Browser](./puppeteer.browser.md)<!-- -->>
|
||
|
|