Track 04 · Multi-agent & integrationLesson 09 of 11
Automating systems with no API
Browser agents for the legacy screen everyone depends on, made reliable.
- Specialisation · Logistics & industrial
- 35 min read
- 60 min hands-on
- Pro
What you'll be able to do
01- Choose a position on the integration ladder (API, file export, RPA, scripted browser, AI browser agent) for a system with no usable API, and justify it.
- Implement a read-only Playwright lookup with role- and label-based locators, session reuse, tracing and explicit timeouts.
- Design credential handling, MFA and session reuse so that no secret ever reaches a model or a log.
- Detect UI drift before it produces wrong data, and fail loudly instead of guessing.
- Decide where AI-driven browsing (natural-language actions, computer-use models) adds value and where deterministic scripts are safer.
- Defend a browser automation design to the system owner, legal and security, including permission, rate limits and human approval for writes.
Before you start
- SaaS connectors and auth flows: what a proper connector looks like, so you know what you are substituting for.
- A gateway for bursty agent traffic: the session pool and caps that protect the portal.
- Approval gates and bounded autonomy: gates for any write a browser performs.
- Tools with scoped, auditable access: secret injection and audit at the tool.
- Basic HTML and CSS selectors.
The short version
Many enterprise processes run through a system nobody can integrate with properly: a 1990s carrier portal, a regulator's web form, a supplier extranet, an internal app whose vendor went out of business. When there is no API, you climb down a ladder of options: ask again for an API or a file export, use an existing RPA bot, script the browser with Playwright, or let an AI-driven browser agent navigate. Each step down is more fragile and harder to audit, so take the highest rung available. When you do automate a browser, treat it as an integration, not a hack: get written permission from the system owner, run in a hosted or isolated browser, keep credentials in a vault, reuse sessions instead of logging in on every call, use stable locators, record traces, cap concurrency below the portal's lockout, detect UI drift and stop rather than guess, treat everything on the page as untrusted text, and put every write behind a human approval until the evidence says otherwise.
Key takeaways:
- The best browser automation is the one you replaced with an export or an API. Ask first, and keep asking.
- Prefer deterministic scripts for known flows; reserve AI navigation for variable pages and recovery, inside the same guardrails.
- Locate by role and label, not by layout. Validate what you read against known formats.
- A login page, a moved column or a changed date format is a drift event, not a parsing challenge.
- Page content can contain instructions aimed at your agent. It is data.
Pro lesson
The rest of this lesson is in Pro.
The mental model, worked example, field note, failure table, exercise and self-check, with the voice tutor.
- Every stage and specialisation, in full
- Every lab and every role project
- Halden weeks 2–10, on your record
- Every drill, live in the playground
- All solutions, plus the server judge
- Lab Assistant and every Teach with AI