UNPKG

@cliqz/autoconsent

Version:

This is a library of rules for navigating through common consent popups on the web. These rules can be run in a Firefox webextension, or in a puppeteer orchestrated headless browser. Using these rules, opt-in and opt-out options can be selected automatica

16 lines (13 loc) 333 B
import generateCMPTests from "./runner"; generateCMPTests('Onetrust', [ 'https://mailchimp.com/', 'https://stackoverflow.com/', 'https://www.zdf.de/', 'https://www.cancer.org/', ]); generateCMPTests('Onetrust', [ 'https://arstechnica.com/', 'https://www.nvidia.com/', ], { skipRegions: ['US', 'GB'] });