@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
14 lines (12 loc) • 325 B
text/typescript
import generateCMPTests from "./runner";
import { test } from '@playwright/test';
generateCMPTests('TrustArc', [
'https://www.garmin.com/de-DE/',
'https://www.wish.com/',
'https://www.forbes.com/',
'https://www.starbucks.com/',
], {
testOptOut: true,
testSelfTest: false,
skipRegions: ["US"]
});