From Chrome DevTools cURL to an Automated Test in 60 Seconds
The exact 5-step workflow QA engineers use to turn any DevTools request into a passing automated test in Playwright, Postman, or Rest Assured.

2026-07-17 · By Avinash K
Manual QA who capture a request in DevTools and want a repeatable test around it can skip the "read the API docs, guess the payload" step entirely.
The 5-step workflow
- Reproduce the action in the app with DevTools → Network open.
- Right-click the request → Copy → Copy as cURL.
- Paste into the cURL → Code Converter.
- Pick a target (Playwright, Postman, Rest Assured, k6…).
- Move secrets to environment variables and commit.
Why this beats writing tests from docs
API docs go stale. A cURL captured from a real user session cannot be wrong — it is literally what the front-end sends. You avoid mismatched header casing, missing CSRF tokens, and undocumented required fields.
Sanitising the output
The converter automatically redacts obvious tokens (Bearer, cookies, API keys) and substitutes process.env.* placeholders. Always double-check before committing to a public repo.
Downstream: assertions
Use the JSON / JSONPath / JMESPath Tester to prototype an assertion against the response, then paste it into the generated test.