CLI Auth Profiles
Record, refresh, test, list, and delete authenticated browser sessions for private captures.
Auth profile commands use Playwright locally to record browser cookies and localStorage, then store that browser state in ScreenFramed.
Record a profile
bashscreenframed auth login \ --url https://app.example.com/login \ --project prj_01K... \ --name "Production dashboard"
Log in normally in the opened browser. When the page is authenticated, return to the terminal and confirm.
Use the profile
bashscreenframed capture https://app.example.com/dashboard \ --auth-profile ap_01K... \ --project prj_01K... \ --device browser-macos \ --output dashboard.png
Refresh cookies
bashscreenframed auth refresh ap_01K... \ --url https://app.example.com/login
Test a profile
bashscreenframed auth test ap_01K... \ --url https://app.example.com/dashboard
List profiles
bashscreenframed auth list
Filter by project:
bashscreenframed auth list --project prj_01K...
Delete a profile
bashscreenframed auth delete ap_01K...
Auth profiles contain session material. Delete old profiles and use separate profiles for production, staging, and local tunnel domains.