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