RPA for our own surfaces — mini-agent-user for buyer-flow QA (parked 2026-05-23)

DARE.CO.UK · PARKED SKETCH · 2026-05-23

Mirrored from ~/.claude/.../memory/parked_sketch_rpa_for_own_buyer_flows_2026-05-23.md. This is a design sketch parked for future build — read for context, not as a current deliverable.

RPA is fine — even valuable — when pointed at our OWN sites (audreyinc.com, dare.co.uk, pa.gf.cx). Use it as a “mini-agent-user” that can simulate buyer journeys (ad click → landing → product browse → add-to-cart → checkout form) for QA, A/B path validation, and bug-detection. Open-source frameworks (Playwright > Cypress > Selenium) preferred.


Dan 2026-05-23: “RPA should be parked as a possible tool for our own work, not sure how, but it bridges the gap on many tedious activities that need batch-processing, running it against use cases where we need simulated use, like audrey-buying-paths via ad, into store, browse, check fields are operating, etc - then pass off to shopify… It’s like a mini-agent-user that we can run for bugs, assuming it can be programmed easily within a framework-open-source ideally.”

The distinction from the no-vendor-RPA rule

feedback_no_unsanctioned_rpa_on_vendor_accounts.md says: never batch-automate someone else’s account.

This sketch says: RPA on our own surfaces is a different game — totally legitimate, even valuable. The lines don’t blur because:

Target Risk Allowed
audreyinc.com / dare.co.uk / pa.gf.cx None — own infra ✓ unlimited
Vendor accounts (Amazon, Apple, eBay) Account lock-out, ToS ✗ except sanctioned

What “mini-agent-user” means here

A scripted browser that walks a real user journey end-to-end against our own surfaces:

Open-source framework picks

Framework When Notes
Playwright Default — most projects Modern, multi-browser, video recording, trace viewer, auth state, network mocking
Cypress If you want web-DSL test feel + watch-mode E2E focus; less suitable for pure scraping/RPA
Selenium Avoid unless you need Java/C# bindings Older; Playwright is the spiritual successor
Puppeteer Chromium-only; Node-flavored Subset of Playwright

Playwright is the answer for almost every case here. Same library Claude already uses for audrey_eras_screenshot.py would extend naturally.

What to build first (when this resumes)

A small framework at pa/_qa/ (or sibling repo):

STASH6

Run targets: - npm run qa:nightly — full suite, results posted to reports.dare.co.uk - npm run qa:smoke — fast subset (~30s) for pre-deploy checks - npm run qa:flow audrey_ad_to_purchase — single flow during dev

Output every run: HTML report with video/screenshot of any failed step + JSON for catalog ingest.

Pair-with later (out-of-scope-for-v1)

Resume conditions

Cross-references

Source: parked_sketch_rpa_for_own_buyer_flows_2026-05-23.md · Rendered 2026-05-23 23:14