BrowserPoolNewPageInNewBrowserOptions <PageOptions, BP>
Assign a custom ID to the page. If you don’t a random string ID will be generated.
Options that will be used to launch the new browser.
Some libraries (Playwright) allow you to open new pages with specific options. Use this property to set those options.
Provide a plugin to launch the browser. If none is provided, one of the pool’s available plugins will be used.
If you configured
BrowserPoolto rotate multiple libraries, such as both Puppeteer and Playwright, you should always set the
browserPluginwhen using the
The plugin will not be added to the list of plugins used by the pool. You can either use one of those, to launch a specific browser, or provide a completely new configuration.