const loader = new PuppeteerWebBaseLoader("https://example.com");
const docs = await loader.load();
console.log(docs);
const splitter = RecursiveCharacterTextSplitter.fromLanguage("html");
const transformer = new HtmlToTextTransformer();
const sequence = splitter.pipe(transformer);
const newDocuments = await sequence.invoke(docs);
console.log(newDocuments);
I want to use exisitng cookies from a json file here.