Puppeteer

Puppeteer

Puppeteer API

Constructor

new Puppeteer()

Source:
Puppeteer

Methods

(static) executablePath() → {string}

Source:
Returns:

A path where Puppeteer expects to find Internet Explorer

Type
string

(async, static) launch(optionsopt) → {Promise.<Browser>}

Source:

Launch a browser instance with given arguments.
The browser will be closed when the parent NodeJS process is closed.

Parameters:
Name Type Attributes Description
options object <optional>

Set of configurable options to set on the browser

Properties
Name Type Attributes Default Description
headless boolean <optional>
true

Whether to run browser in headless mode

Returns:
Type
Promise.<Browser>