Browser

Browser

A Browser is created when Puppeteer connects to a Internet Explorer instance

Constructor

new Browser()

Source:

Extends

Methods

close() → {Promise}

Source:

Closes Internet Explorer and all of its pages (if any were opened).
The Browser object itself is considered to be disposed and cannot be used anymore.

Returns:
Type
Promise

(async) newPage() → {Promise.<Page>}

Source:
Returns:
Type
Promise.<Page>

(async) pages() → {Promise.<Array.<Page>>}

Source:
Returns:

Promise which resolves to an array of all open pages

Type
Promise.<Array.<Page>>

(async) userAgent() → {Promise.<string>}

Source:
Returns:

Promise which resolves to the browser's original user agent

Type
Promise.<string>