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
1.3 KiB
1.3 KiB
sidebar_label |
---|
ProductLauncher |
ProductLauncher class
Describes a launcher - a class that is able to create and launch a browser instance.
Signature:
export declare class ProductLauncher
Remarks
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the ProductLauncher
class.
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
product | readonly |
Product |
Methods
Method | Modifiers | Description |
---|---|---|
defaultArgs(object) | ||
executablePath(channel) | ||
launch(object) |