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

12 lines 416 B
{ "name": "Test page CMP", "prehideSelectors": ["#reject-all"], "detectCmp": [{ "exists": "#privacy-test-page-cmp-test" }], "detectPopup": [{ "visible": "#privacy-test-page-cmp-test" }], "optIn": [{ "click": "#accept-all" }], "optOut": [ { "waitFor": "#reject-all" }, { "click": "#reject-all" } ], "test": [{ "eval": "window.results.results[0] === 'button_clicked'" }] }