-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Description
Website: https://dailymotion.com
To reproduce
const { AxePuppeteer } = require("@axe-core/puppeteer");
const puppeteer = require("rebrowser-puppeteer");
const run = async () => {
const browser = await puppeteer.launch({ headless: true });
const pages = await browser.pages();
const page = pages[0];
await page.goto("https://dailymotion.com", { waitUntil: "networkidle2" });
const axeResults = await new AxePuppeteer(page)
.options({
resultTypes: ["violations"],
rules: {
"frame-tested": { enabled: false },
"target-size": { enabled: true },
"color-contrast-enhanced": { enabled: false },
"identical-links-same-purpose": { enabled: false },
"meta-refresh-no-exceptions": { enabled: false },
},
})
.setLegacyMode(true)
.analyze();
console.log(axeResults);
await browser.close();
};
run();
gustavfridell and nnasirzada
Metadata
Metadata
Assignees
Labels
No labels