@axe-core/playwright 4.9.2-6eaaa84.0 → 4.9.2-9277b4f.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -233,7 +233,7 @@ var AxeBuilder = class {
|
|
|
233
233
|
async analyze() {
|
|
234
234
|
const context = normalizeContext(this.includes, this.excludes);
|
|
235
235
|
const { page } = this;
|
|
236
|
-
|
|
236
|
+
page.evaluate(this.script());
|
|
237
237
|
const runPartialDefined = await page.evaluate(
|
|
238
238
|
'typeof window.axe.runPartial === "function"'
|
|
239
239
|
);
|
|
@@ -350,8 +350,8 @@ var AxeBuilder = class {
|
|
|
350
350
|
blankPage,
|
|
351
351
|
"Please make sure that you have popup blockers disabled."
|
|
352
352
|
);
|
|
353
|
-
|
|
354
|
-
|
|
353
|
+
blankPage.evaluate(this.script());
|
|
354
|
+
blankPage.evaluate(await this.axeConfigure());
|
|
355
355
|
const sizeLimit = 6e7;
|
|
356
356
|
const partialString = JSON.stringify(partialResults);
|
|
357
357
|
async function chunkResults(result) {
|
package/dist/index.mjs
CHANGED
|
@@ -198,7 +198,7 @@ var AxeBuilder = class {
|
|
|
198
198
|
async analyze() {
|
|
199
199
|
const context = normalizeContext(this.includes, this.excludes);
|
|
200
200
|
const { page } = this;
|
|
201
|
-
|
|
201
|
+
page.evaluate(this.script());
|
|
202
202
|
const runPartialDefined = await page.evaluate(
|
|
203
203
|
'typeof window.axe.runPartial === "function"'
|
|
204
204
|
);
|
|
@@ -315,8 +315,8 @@ var AxeBuilder = class {
|
|
|
315
315
|
blankPage,
|
|
316
316
|
"Please make sure that you have popup blockers disabled."
|
|
317
317
|
);
|
|
318
|
-
|
|
319
|
-
|
|
318
|
+
blankPage.evaluate(this.script());
|
|
319
|
+
blankPage.evaluate(await this.axeConfigure());
|
|
320
320
|
const sizeLimit = 6e7;
|
|
321
321
|
const partialString = JSON.stringify(partialResults);
|
|
322
322
|
async function chunkResults(result) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axe-core/playwright",
|
|
3
|
-
"version": "4.9.2-
|
|
3
|
+
"version": "4.9.2-9277b4f.0+9277b4f",
|
|
4
4
|
"description": "Provides a method to inject and analyze web pages using axe",
|
|
5
5
|
"contributors": [
|
|
6
6
|
{
|
|
@@ -92,5 +92,5 @@
|
|
|
92
92
|
"functions": 100,
|
|
93
93
|
"lines": 95
|
|
94
94
|
},
|
|
95
|
-
"gitHead": "
|
|
95
|
+
"gitHead": "9277b4ff8a612918435e5b226de7f90472abe6d1"
|
|
96
96
|
}
|