Installation
Alfa Test Utilities (version 0.74.2)
First add the Alfa Test Utilities package to your project:
- npm
- yarn
- pnpm
- bun
npm install --save-dev @siteimprove/alfa-test-utils
Next we need to add some packages specific to the browser automation framework used. You can jump to the instructions for your framework and skip the rest.
Frameworks for Testing
Playwright (integration version 0.74.2)
Add the Alfa Playwright package to your project:
- npm
- yarn
- pnpm
- bun
npm install --save-dev @siteimprove/alfa-playwright
Puppeteer (integration version 0.74.2)
Add the Alfa Puppeteer package to your project:
- npm
- yarn
- pnpm
- bun
npm install --save-dev @siteimprove/alfa-puppeteer
Selenium (integration version 0.74.2)
Add the Alfa Selenium package to your project:
- npm
- yarn
- pnpm
- bun
npm install --save-dev @siteimprove/alfa-selenium
Cypress (integration version 0.74.2)
Add the Alfa Cypress package to your project:
- npm
- yarn
- pnpm
- bun
npm install --save-dev @siteimprove/alfa-cypress