Installation
To run the Accessibility Code Checker, you need to install the @siteimprove/alfa-test-utils package that contains it, as well as one of the integration packages for the browser automation you use.
Alfa Test Utilities (version 0.79.0)
First add the Alfa Test Utilities package to your project:
- npm
- yarn
- pnpm
- bun
npm install --save-dev @siteimprove/alfa-test-utilsFrameworks for testing
Next, add an integration package specific to the browser automation framework you are using. You can focus on the instructions for your framework and skip the rest. If you are not using any of the following browser automations, see the generic documentation about scraping for other options.
Playwright (integration version 0.79.0)
Add the Alfa Playwright package to your project:
- npm
- yarn
- pnpm
- bun
npm install --save-dev @siteimprove/alfa-playwrightPuppeteer (integration version 0.79.0)
Add the Alfa Puppeteer package to your project:
- npm
- yarn
- pnpm
- bun
npm install --save-dev @siteimprove/alfa-puppeteerSelenium (integration version 0.79.0)
Add the Alfa Selenium package to your project:
- npm
- yarn
- pnpm
- bun
npm install --save-dev @siteimprove/alfa-seleniumCypress (integration version 0.79.0)
Add the Alfa Cypress package to your project:
- npm
- yarn
- pnpm
- bun
npm install --save-dev @siteimprove/alfa-cypress