authXtract·The Test Nest Mx
Open source·ISC license

Capture a login once, then reuse it in every test.

authXtract opens a real browser so you can sign in by hand, including MFA, SSO, and OAuth. It saves that session encrypted on disk, then hands Playwright a ready-to-use storageState file when your tests ask for one. No more re-typing credentials, and no more broken login steps in CI.

Node 18+ · Chrome or Edge · macOS, Linux, Windows

01 / 02

Three steps, one tool

You log in. authXtract keeps the session safe and gives it to Playwright when you need it.

01 · Capture

Sign in like a person

Log in through a real browser, MFA and SSO included. authXtract captures the session that login produces.

02 · Store

Encrypted on disk

Sessions are stored with AES-256-GCM. Your passphrase runs through scrypt and can live in your OS keychain or a secret manager.

03 · Export

Drop into Playwright

Export a standard storageState JSON and pass it to test.use(). The test starts already logged in.

Captures expire after 24 hours by default, each one runs in a throwaway browser profile that is deleted afterward, and a decrypted file is written only when you run export.

02 / 02

Grab it on GitHub

authXtract is open source under the ISC license. The README walks through install, the full command reference, the security model, and how to wire it into Playwright and CI. Clone it, try it on one of your own logins, and open an issue if something gets in your way.

$git clone https://github.com/moises-gonzalez/authxtract.git