mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
This PR adds configurations files to `puppeteer`'s methods for configuration. Under the hood, `puppeteer` relies on https://www.npmjs.com/package/cosmiconfig which resolves several formats of configuration: - a `puppeteer` property in package.json - a `.puppeteerrc` file in JSON or YAML format - a `.puppeteerrc.json`, `.puppeteerrc.yaml`, `.puppeteerrc.yml`, `.puppeteerrc.js`, or `.puppeteerrc.cjs` file - a `puppeteer.config.js` or `puppeteer.config.cjs` CommonJS module exporting an object Documentation will be added later. Fixed: #9128
24 lines
592 B
Markdown
24 lines
592 B
Markdown
---
|
|
sidebar_label: ProductLauncher.launch
|
|
---
|
|
|
|
# ProductLauncher.launch() method
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
class ProductLauncher {
|
|
launch(object: PuppeteerNodeLaunchOptions): Promise<Browser>;
|
|
}
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --------- | ----------------------------------------------------------------------- | ----------- |
|
|
| object | [PuppeteerNodeLaunchOptions](./puppeteer.puppeteernodelaunchoptions.md) | |
|
|
|
|
**Returns:**
|
|
|
|
Promise<[Browser](./puppeteer.browser.md)>
|