@brennan-stably/playwright-test
v0.1.9
Published
Playwright Test wrapper with Stably AI matchers
Readme
Stably Playwright Test
This package extends Playwright to add new AI functionality
Installation
First ensure you remove any previous playwright/playwright-test installation
npm remove playwright @playwright/testAfterwards you can install Stably
npm install @stablyai/playwright-testSetup
Make sure you also get your api-key to use the AI features.
Either set the process.env.STABLY_API_KEY variable or programtically call setApiKey from "@stablyai/playwright-test"
Usage
- Replace "@playwright/test" with "@stablyai/playwright-test"
- Ex: imports should look like: import { test, expect } from "@stablyai/playwright-test";
- Simply run tests with
npx playwright testas you would normally using Playwright
