26 lines
862 B
Markdown
26 lines
862 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Browser](./puppeteer.browser.md) > [(constructor)](./puppeteer.browser._constructor_.md)
|
||
|
|
||
|
## Browser.(constructor)
|
||
|
|
||
|
Constructs a new instance of the `Browser` class
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
constructor(connection: Connection, contextIds: string[], ignoreHTTPSErrors: boolean, defaultViewport?: Viewport, process?: ChildProcess, closeCallback?: BrowserCloseCallback);
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| connection | [Connection](./puppeteer.connection.md) | |
|
||
|
| contextIds | string\[\] | |
|
||
|
| ignoreHTTPSErrors | boolean | |
|
||
|
| defaultViewport | Viewport | |
|
||
|
| process | ChildProcess | |
|
||
|
| closeCallback | BrowserCloseCallback | |
|
||
|
|