Optional
options: PuppeteerWebBaseLoaderOptionsLoads the documents and splits them using a specified text splitter.
A Promise that resolves with an array of Document instances, each split according to the provided TextSplitter.
Screenshot a web page and return it as a Document object where the pageContent property is the screenshot encoded in base64.
A document object containing the screenshot of the page encoded in base64.
Static
importsStatic method that imports the necessary Puppeteer modules. It returns a Promise that resolves to an object containing the imported modules.
Promise that resolves to an object containing the imported Puppeteer modules.
Generated using TypeDoc
Class that extends the BaseDocumentLoader class and implements the DocumentLoader interface. It represents a document loader for scraping web pages using Puppeteer.
Example