_screenshot(
url: string,
options: PuppeteerWebBaseLoaderOptions
): Promise<Document<Record<| Name | Type | Description |
|---|---|---|
url* | string | |
options | PuppeteerWebBaseLoaderOptions |
Static class method used to screenshot a web page and return it as a Document object where the pageContent property is the screenshot encoded in base64.