@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
54 lines (48 loc) • 1.31 kB
HTML
<html>
<head>
<title>Autoconsent testing</title>
<link rel="stylesheet" href="../node_modules/bulma/css/bulma.min.css">
<style>
td {
border: solid 1px;
padding: 4px;
max-width: 300px;
}
.failed>td {
border-color: red;
border-width: 2px;
}
</style>
<script src="./crawl.js" type="module"></script>
</head>
<body>
<section class="section">
<div class="container">
<p class="title">Click to add testcases:</p>
<nav id="testCases">
</nav>
</div>
</section>
<section class="section">
<div class="container">
<table>
<thead>
<tr>
<th>Run</th>
<th>Test site</th>
<th>Reconsent rule</th>
<th>Reconsent hidden</th>
<th>CMP Shown and detected</th>
<th>Test result</th>
<th>Errors</th>
<th>Screenshot</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</section>
</body>
</html>