qazen-cli
v0.2.12
Published
QAZen CLI — capture authenticated browser sessions for enterprise SSO testing
Maintainers
Readme
QAZen CLI
Capture authenticated browser sessions for enterprise app testing — including SSO, ADFS, Okta, Cognito, and MFA flows.
Quick Start
# Install
npm install -g qazen-cli
# Connect (get the token from QAZen → Settings → Authentication)
qazen login --token <your-cli-token> --api-url https://qa-zen-ai.replit.app
# Record a session (opens a real browser)
qazen record --project "My App"
# Check status
qazen statusWhy this works for HttpOnly cookies
Playwright's Chrome DevTools Protocol (CDP) has direct access to all browser state, including HttpOnly cookies that JavaScript cannot read. This is the only reliable way to capture enterprise SSO sessions.
Your credentials never reach QAZen servers — only the resulting session storage state is uploaded.
Commands
qazen login --token <key>— store the CLI token locallyqazen record [--project <name>] [--url <url>]— open a browser, let you log in, capture the session, upload to QAZenqazen status— verify connection and list projects
Config location
The CLI stores its API URL and token under conf's standard location (~/.config/qazen-cli/config.json on Linux, ~/Library/Preferences/qazen-cli-nodejs/ on macOS, %APPDATA%\qazen-cli-nodejs\ on Windows).
