Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@inqludeit/qualweb-plugin-cmp
Advanced tools
QualWeb plugin to dismiss cookie banners during evaluation.
This package is a tiny wrapper around @inqludeit/cmp-b-gone and is meant to be used as a minimal way to use the module in your QualWeb workflows.
For more advanced scenarios, consider using that package directly, instead.
The purpose of this package is to suppress suppress CMP (Consent Management Platform) banners. These "cookie banners" are required on sites operated in the European Union, and are thus present on tonnes of websites.
There are at least two good reasons to use the module:
NOTE: this software was built for the explicit purposes of enabling and enhancing automated accessibility testing, NOT to bypass the CMP banner for otherwise normal use of a website. If you use this software to bypass a banner it is presumed that you have accepted all terms of the site's use, including its cookie policy.
Install it like any other package:
pnpm install @inqludeit/qualweb-plugin-cmp
Sometime before calling QualWeb#evaluate()
:
import { createPlugin } from '@inqludeit/qualweb-plugin-cmp';
qualweb.use(await createPlugin());
This will initialise the plugin with all the descriptors present in the package's descriptors
folder.
During evaluation, the plugin will try to identify the CMP in use on a site to be evaluated. If it fails to detect any CMP, the evaluation will also be caused to fail. For this reason, we recommend running single URLs through QualWeb, since any missing descriptors will throw for the entire task.
We call the object that can identify and bypass a cookie banner a "descriptor".
Out of the box, @qualweb/cmp-b-gone comes bundled with a bunch of descriptors we've written by hand. They are all "simple" descriptors, based exclusively on CSS selectors. If the list of descriptors is insufficient, you can supplement them in the call to createPlugin()
(see the docs in @inqludeit/cmp-b-gone for more details on this).
FAQs
QualWeb plugin to dismiss cookie banners during evaluation.
We found that @inqludeit/qualweb-plugin-cmp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.