puppeteer-stream
puppeteer-stream copied to clipboard
[Question] Using puppeteer-extra plugins
Would love to use the adblocker plugin for my current project, and the stealth plugin for my next one.
I tried making a few adjustments to PuppeteerStream.ts:
import { LaunchOptions, Browser, Page, BrowserOptions, ChromeArgOptions } from "puppeteer";
import puppeteer from 'puppeteer-extra'
import Adblocker from 'puppeteer-extra-plugin-adblocker'
puppeteer.use(AdblockerPlugin()) // Added before the browser is initialized on line 69.
The result is an indefinitely loading blank tab – any ideas on how I could get it to work?
How do you start the puppeteer browser? Can you show your launch code
I'm just running the file.js example as is – no changes made there
Any progress on this? I love the extension but need to be able to use it with puppeteer-extra too.
Have a look at the example file.