PuppeteerPlugin
Hierarchy
- BrowserPlugin<typeof Puppeteer, PuppeteerTypes.LaunchOptions, PuppeteerTypes.Browser, PuppeteerNewPageOptions>
- PuppeteerPlugin
Index
Constructors
constructor
Parameters
library: PuppeteerNode
options: BrowserPluginOptions<LaunchOptions> = {}
Returns PuppeteerPlugin
Properties
optionalreadonlyinheritedbrowserPerProxy
optionalreadonlyinheritedignoreProxyCertificate
readonlyinheritedlaunchOptions
readonlyinheritedlibrary
readonlyinheritedname
optionalreadonlyinheritedproxyUrl
inheriteduseIncognitoPages
optionalreadonlyinheriteduserDataDir
Methods
createController
Returns PuppeteerController
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>
useRemoteConnection
Pages share cookies/storage on the remote browser (Puppeteer defaults to non-incognito).
Parameters
connection: RemoteConnection
parameters: RemoteConnectionParameters = {}
Returns void
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.