We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can add adblocker like this to my puppeteer
const puppeteer = require('puppeteer-extra') // Add adblocker plugin, which will transparently block ads in all pages you // create using puppeteer. const { DEFAULT_INTERCEPT_RESOLUTION_PRIORITY } = require('puppeteer') const AdblockerPlugin = require('puppeteer-extra-plugin-adblocker') puppeteer.use( AdblockerPlugin({ // Optionally enable Cooperative Mode for several request interceptors interceptResolutionPriority: DEFAULT_INTERCEPT_RESOLUTION_PRIORITY }) )
with puppeteer cluster how can I puppeteer.use() to use such features?
puppeteer.use()
with page
page
await cluster.queue({url someURL}) await cluster.task(async ({ page, data }) => { })
or with puppeteerOptions ? const cluster = await Cluster.launch({puppeteerOptions: {}})
puppeteerOptions
const cluster = await Cluster.launch({puppeteerOptions: {}})
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I can add adblocker like this to my puppeteer
with puppeteer cluster how can I
puppeteer.use()
to use such features?with
page
or with
puppeteerOptions
?const cluster = await Cluster.launch({puppeteerOptions: {}})
The text was updated successfully, but these errors were encountered: