Socket
Socket
Sign inDemoInstall

@axe-core/playwright

Package Overview
Dependencies
Maintainers
4
Versions
373
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@axe-core/playwright - npm Package Compare versions

Comparing version 4.3.2-alpha.208 to 4.3.2-alpha.209

4

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc