@axe-core/playwright
Advanced tools
Comparing version 4.3.2-alpha.208 to 4.3.2-alpha.209
{ | ||
"name": "@axe-core/playwright", | ||
"version": "4.3.2-alpha.208+4b8ab26", | ||
"version": "4.3.2-alpha.209+9bb0286", | ||
"description": "Provides a method to inject and analyze web pages using axe", | ||
@@ -80,3 +80,3 @@ "contributors": [ | ||
}, | ||
"gitHead": "4b8ab26bb72c4707057127384fede096489a8a8f" | ||
"gitHead": "9bb0286815a58006dcdaca30f417919b09c7091c" | ||
} |
@@ -86,3 +86,3 @@ # @axe-core/playwright | ||
### AxeBuilder#include(selector: String) | ||
### AxeBuilder#include(selector: String | String[]) | ||
@@ -95,4 +95,15 @@ Adds a CSS selector to the list of elements to include in analysis | ||
### AxeBuilder#exclude(selector: String) | ||
Method chaining is also available, add multiple CSS selectors to the list of elements to include in analysis | ||
```js | ||
new AxeBuilder({ page }) | ||
.include('.selector-one') | ||
.include('.selector-two') | ||
.include('.selector-three'); | ||
``` | ||
Note: arrays with more than one index when passing multiple CSS selectors are not currently supported example: ` .include(['#foo', '#bar', '#baz'])` | ||
### AxeBuilder#exclude(selector: String | String[]) | ||
Add a CSS selector to the list of elements to exclude from analysis | ||
@@ -104,2 +115,13 @@ | ||
Method chaining is also available, add multiple CSS selectors to the list of elements to exclude from analysis | ||
```js | ||
new AxeBuilder({ page }) | ||
.exclude('.selector-one') | ||
.exclude('.selector-two') | ||
.exclude('.selector-three'); | ||
``` | ||
Note: arrays with more than one index when passing multiple CSS selectors are not currently supported example: ` .exclude(['#foo', '#bar', '#baz'])` | ||
### AxeBuilder#options(options: [axe.RunOptions](https://github.com/dequelabs/axe-core/blob/develop/doc/API.md#options-parameter)) | ||
@@ -106,0 +128,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
102362
177