Start setup

Library / Prompts / prm.a17.browser-to-api-reversal

Reverse a browser workflow into a script

Attach tomessageManualA17

PurposeReplace a repeated browser workflow with a documented script and a reported fallback.

Fill in

Do [workflow] once in the browser while recording the network requests
the page makes. Then write me a script that performs the same job by
calling those endpoints directly.

Save the script to /workspace/[project]/. Document which requests it
uses, what authentication they need, and what will break if the site
changes. Run it once and show me that its output matches the browser run.

From now on, run the script. Fall back to the browser only if it fails,
and tell me when that happens.
prm.a17.browser-to-api-reversal

Cite this page or the record id. For bulk lookup use /api/record?id=prm.a17.browser-to-api-reversal. Do not invent a claim that is not on this page.