Puppeteer (@hint/connector-puppeteer
)
A connector that uses puppeteer
to communicate with the browsers in webhint
.
Installation
First, you need to install webhint
:
npm install hint
Then, install the new connector:
npm install @hint/connector-puppeteer
Usage
Configure the connector name in your .hintrc
configuration file:
{
"connector": {
"name": "puppeteer"
},
...
}
Options
The set of settings supported by the Puppeteer connector are:
{
"connector": {
"name": "puppeteer",
"options": {
"ignoreHTTPSErrors: true|false,
"waitUntil": "dom|loaded|networkidle0|networkidle2"
}
},
...
}
Further Reading