- either set ANTHROPIC_API_KEY environment variable, or add an
apiKey
param wherenew Anthropic()
is called inplaywright-plugin.ts
pnpm install
- the example tests are in
aistuff.test.ts
, its just a normal test file, any playwright features should work as expected pnpm exec playwright test .
to run the tests
Note: This is a super simple POC, things may break, and the code is trash.