PuppeteerPlugin
Hierarchy
- BrowserPlugin<typeof Puppeteer, PuppeteerTypes.LaunchOptions, PuppeteerTypes.Browser, PuppeteerNewPageOptions>
- PuppeteerPlugin
Index
Constructors
constructor
Parameters
library: PuppeteerNode
options: BrowserPluginOptions<LaunchOptions> = {}
Returns PuppeteerPlugin
Properties
optionalinheritedbrowserPerProxy
inheritedexperimentalContainers
inheritedlaunchOptions
inheritedlibrary
inheritedname
optionalinheritedproxyUrl
inheriteduseIncognitoPages
optionalinheriteduserDataDir
Methods
inheritedcreateController
Returns BrowserController<PuppeteerNode, LaunchOptions, Browser, PuppeteerNewPageOptions, Page>
inheritedcreateLaunchContext
Creates a
LaunchContextwith all the information needed to launch a browser. Aside from library specific launch options, it also includes internal properties used byBrowserPoolfor management of the pool and extra features.Parameters
options: CreateLaunchContextOptions<PuppeteerNode, LaunchOptions, Browser, PuppeteerNewPageOptions, Page> = {}
Returns LaunchContext<PuppeteerNode, LaunchOptions, Browser, PuppeteerNewPageOptions, Page>
inheritedlaunch
Launches the browser using provided launch context.
Parameters
launchContext: LaunchContext<PuppeteerNode, LaunchOptions, Browser, PuppeteerNewPageOptions, Page> = ...
Returns Promise<Browser>
The
BrowserPluginserves two purposes. First, it is the base class that specialized controllers likePuppeteerPluginorPlaywrightPluginextend. Second, it allows the user to configure the automation libraries and feed them to BrowserPool for use.