Package Exports
- stably
Readme
Code. Ship. Test.
Stably CLI
This package extends Playwright to add new AI functionality. To get started quickly, please see AI-assisted setup guide. Otherwise continue to read below.
Installation
npm i -g stably🎭 Note
We let you bring your own Playwright version. This does mean that Playwright must first be setup (our CLI can help you do that)
Usage
Below is a short list of common commands. For a complete list, please use stably --help
npx stably: This starts our REPL which will help with test creation or modificationsnpx stably test: Use this to run tests locally or in the CInpx stably --help: Will print full list of commands
Authentication
Stably CLI supports two auth modes:
- API key via env vars (highest priority): set
STABLY_API_KEYandSTABLY_PROJECT_ID - Browser login (OAuth): run
npx stably login(credentials are stored locally)
If both are present, the CLI will honor the environment variables and warn that stored OAuth credentials are being ignored. To switch back to browser login, unset the env vars.