Skip to main content
Version: 3.2

CommonLibrary

Each plugin expects an instance of the object with the .launch() property. For Puppeteer, it is the puppeteer module itself, whereas for Playwright it is one of the browser types, such as puppeteer.chromium. BrowserPlugin does not include the library. You can choose any version or fork of the library. It also keeps browser-pool installation small.

Index

Properties

Methods

Properties

optionalname

name?: () => string

Type declaration

    • (): string
    • Returns string

optionalproduct

product?: string

Methods

launch

  • launch(opts?: Dictionary<any>): Promise<CommonBrowser>
  • Parameters

    • optionalopts: Dictionary<any>

    Returns Promise<CommonBrowser>