Chrome MV3 extension · MIT

One-click test-user switching for apps on localhost.

Every local project shares one cookie jar. This extension keeps named users per project (admin, employee, customer) and swaps cookies plus localStorage/sessionStorage in one click. Tabs reload. No sign-out dance. Nothing leaves the machine.

Chrome Web Store listing is in progress. Until it is live, load the release zip unpacked (Developer mode). Works in Chrome, Brave, and other Chromium browsers.

Popup of Local Session Switcher: clicking Carol Customer reloads the local app as Carol, then clicking Alice Admin restores Alice.
Click a user. The tab reloads as that user. Admin → customer → admin.

Install from the release zip

  1. Download local-session-switcher-*.zip from the latest GitHub Release.
  2. Unzip it.
  3. Open chrome://extensions → enable Developer mode → Load unpacked → pick the unzipped folder.

Then create a project (or import the example seed), capture a live login, and click a user. A fake login page ships in test-harness/ if you want to try it without an app.

Why it exists

URL-scoped cookie editors fail locally: every app is localhost, so the URL tells you nothing. Chrome profiles and incognito work for two users and fall apart at five roles across three projects. They also cannot log in or refresh tokens for you.

Features

Extension popup listing Alice, Bob, and Carol with Alice marked active.
Popup — the ledger of test users.
Settings page with project rail, origins, and clearing rules.
Settings — origins, auth recipe, users.

Privacy

No analytics, no accounts, no network calls except the login/refresh URLs you configure on your own origins. Details: privacy policy.