mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
24 lines
688 B
Markdown
24 lines
688 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Puppeteer](./puppeteer.puppeteer.md) > [(constructor)](./puppeteer.puppeteer._constructor_.md)
|
||
|
|
||
|
## Puppeteer.(constructor)
|
||
|
|
||
|
Constructs a new instance of the `Puppeteer` class
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
constructor(projectRoot: string, preferredRevision: string, isPuppeteerCore: boolean, productName: string);
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| projectRoot | string | |
|
||
|
| preferredRevision | string | |
|
||
|
| isPuppeteerCore | boolean | |
|
||
|
| productName | string | |
|
||
|
|