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:
- Buyer-flow A/B paths: ad-server URL → landing page → product page → variant select → cart → checkout. Each step verifies the next page loaded, the right elements are present, no JS errors.
- Form-field operational checks: every form on our portfolio surfaces gets a robot that submits valid + invalid input, catches broken validation or silent server errors.
- Cross-portfolio regression: change a CSS primitive in
assets.gf.cx, robot smoke-tests every consuming surface for layout breakage. - Voice-chat flows: drive
archive.audreyinc.comchat widget through canned conversations, verify response shape. - Receipt/PDF generation flows: trigger an insurance affidavit render, verify the PDF appears with correct content.
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):