Prompt
I'm building an internal RPA-like workflow but only for browser tasks; what options fit?
Latest observation
If you want an internal, browser-only RPA-like workflow, the best fit usually depends on whether you need:
- simple browser automation (click/type/navigate/scrape),
- reliable end-to-end workflows with retries and state,
- human-in-the-loop approvals, or
- visual/non-technical authoring.
Here are the main options that fit well:
1) Playwright
Best for: robust browser automation in code.
- Automates Chromium, Firefox, and WebKit
- Great for login flows, form filling, downloads, SPA apps
- Strong selectors, waits, tracing, screenshots, video
- Good for building your own “RPA engine” around browser tasks
Pros
- Very stable and modern
- Excellent for internal tools and web apps
- Supports headless/headful, isolated browser contexts
- Works well in containers/servers
Cons
- Developer-focused; not a no-code RPA product
- You’ll need to build workflow orchestration, retries, logging, approvals yourself
Use when: your team can write code and wants reliability.
2) Selenium
Best for: legacy compatibility and broad ecosystem.
- Widely used browser automation framework
- Good if you already have Selenium tests or older browser support needs
Pros
- Mature ecosystem
- Large community
- Works with many languages and grids
Cons
- Generally less ergonomic and more brittle than Playwright for modern apps
- More effort to make “workflow-like” automation reliable
Use when: you already use it or need compatibility with existing infra.
3) UiPath / Automation Anywhere / Power Automate Desktop
Best for: traditional RPA with browser automation.
These are classic RPA platforms that can automate browser tasks and often include:
- drag-and-drop workflow building
- credential vaults
- queues
- scheduling
- approvals
- logging and monitoring
Pros
- Very feature-rich
- Non-developers can build flows
- Good governance and auditability
- Built-in orchestration
Cons
- Can be expensive
- Heavier than needed if you only want browser tasks
- Browser automation can still be fragile depending on UI changes
Use when: you want a full RPA platform, not a custom build.
4) Browser extensions + scripting
Best for: tightly scoped internal browser workflows.
You can build:
- a browser extension that injects actions,
- plus a backend service/API for orchestration.
Pros
- Feels native to the browser
- Good for repetitive internal workflows on a few sites
- Can interact with the active tab and user session
Cons
- More constrained than full automation frameworks
- Harder to support many websites or complex flows
- Extension permissions and browser policies matter
Use when: tasks are mostly on a small number of internal websites.
5) Workflow engines + browser automation
Best for: durable internal automation pipelines.
Combine:
- workflow orchestration: Temporal, Camunda, n8n, Airflow (less ideal for UI)
- browser automation: Playwright
This gives you:
- retries
- state management
- timeouts
- human approval steps
- audit trail
- long-running jobs
Pros
- Strong architecture for production use
- Better than “just scripts” for business workflows
Cons
- More engineering setup
- You need to design the system
Use when: you want an internal platform that scales beyond one-off scripts.
6) RPA-lite with Python/Node + Playwright
Best for: custom internal automation with moderate effort.
A practical approach:
- Use Playwright for browser control
- Store workflow definitions in YAML/JSON
- Add a queue, scheduler, and logs
- Expose a simple UI for launching jobs and reviewing results
Pros
- Flexible
- Cheap relative to enterprise RPA
- Fits internal engineering teams well
Cons
- You’re building the platform yourself
- Needs good observability and error handling
What I’d recommend
If you’re engineering-led
Go with Playwright + a workflow engine. This is usually the best balance of reliability, maintainability, and cost for browser-only automation.
If you need non-technical users to build flows
Look at UiPath or Power Automate Desktop.
If it’s a narrow internal tool
A browser extension + Playwright backend can be enough.
Key design considerations
For browser-only RPA, make sure your option supports:
- Headless/headful execution
- Session persistence / login handling
- Retries and idempotency
- Robust selectors
- File upload/download
- Audit logs and screenshots
- Multi-step workflows
- Human approval checkpoints
- Secret storage
- Concurrency control
A good default stack
If you want something practical and modern:
- Playwright for browser automation
- Temporal or n8n for orchestration
- Postgres for state
- S3/local storage for artifacts
- Web UI for job control and review
If you want, I can also give you:
- a decision matrix comparing Playwright vs UiPath vs Power Automate vs Selenium, or
- a reference architecture for building your internal browser-only RPA system.