abstractBrowserPlugin <Library, LibraryOptions, LaunchResult, NewPageOptions, NewPageResult>
Hierarchy
- BrowserPlugin
Index
Constructors
constructor
- Parameters- library: Library
- options: BrowserPluginOptions<LibraryOptions> = {}
 - Returns BrowserPlugin<Library, LibraryOptions, LaunchResult, NewPageOptions, NewPageResult>
Properties
optionalbrowserPerProxy
experimentalContainers
launchOptions
library
name
optionalproxyUrl
useIncognitoPages
optionaluserDataDir
Methods
createController
- Returns BrowserController<Library, LibraryOptions, LaunchResult, NewPageOptions, NewPageResult>
createLaunchContext
- Creates a - LaunchContextwith all the information needed to launch a browser. Aside from library specific launch options, it also includes internal properties used by- BrowserPoolfor management of the pool and extra features.- Parameters- options: CreateLaunchContextOptions<Library, LibraryOptions, LaunchResult, NewPageOptions, NewPageResult> = {}
 - Returns LaunchContext<Library, LibraryOptions, LaunchResult, NewPageOptions, NewPageResult>
launch
- Launches the browser using provided launch context. - Parameters- launchContext: LaunchContext<Library, LibraryOptions, LaunchResult, NewPageOptions, NewPageResult> = ...
 - Returns Promise<LaunchResult>
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.