robocorp-browser
Robocorp browser automation library
What it is and what it does
robocorp-browser is a thin abstraction layer over Playwright that handles browser lifecycle automatically—creating, managing, and closing browser instances without explicit boilerplate. It is designed specifically to work with robocorp-tasks, a Robocorp framework for defining and running automation tasks, and provides convenience methods like browser.goto() and browser.page() that return the current or newly created browser instance.
The package lets you write browser automation code that feels native to the Robocorp task model: you configure the browser once per task (headless mode, screenshot behavior, slow-motion delays), then call simple APIs to navigate and interact with pages. Under the hood, it manages Playwright's browser and context objects, closing them automatically when the task completes. It is most useful for teams building robotic process automation (RPA) workflows, web scraping tasks, or automated testing within the Robocorp ecosystem.
Use it for:
- Automate login flows and form submission in web applications as part of a Robocorp task.
- Build web scraping workflows that extract data from dynamic pages rendered by JavaScript.
- Create end-to-end test suites that verify web application behavior across browsers.
- Implement RPA workflows that interact with legacy web systems without native APIs.
- Generate screenshots or PDFs of web pages on-demand as part of an automation pipeline.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A wrapper around Playwright that automates browser interactions with automatic lifecycle management, designed to integrate with Robocorp's task automation framework.
Yes, if you are building automation tasks within the Robocorp framework or need a lightweight Playwright wrapper with automatic lifecycle management. The package is actively maintained, has no known vulnerabilities, and integrates seamlessly with robocorp-tasks. Install it only if you plan to use it with Robocorp; standalone Playwright is the better choice for non-Robocorp projects.
Install
robocorp-browser on PyPI
pip
pip install robocorp-browseruv
uv add robocorp-browserpoetry
poetry add robocorp-browserInstalling robocorp-browser
Before you install
Low friction installation with a pure-Python wheel. Actively maintained as of 2026-07-24 with regular releases; the project has 646 stars and is part of the Robocorp ecosystem.
License in practice
Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions—suitable for most automation and business contexts.
Quickstart
pip install robocorp-browser
from robocorp import browser
from robocorp.tasks import task
@task
def automate():
browser.configure(headless=True)
browser.goto("https://example.com")
page = browser.page()
page.fill('input', 'text')
page.click('button')
Requires Python 3.10 or later; designed for use with robocorp-tasks, so best integrated into a Robocorp task package or automation framework.
Verify before relying
- Whether browser instances persist across multiple task invocations or are strictly scoped per task.
- Performance characteristics when handling high-volume or long-running browser sessions.
- Compatibility with Playwright versions beyond what the package pins in its dependencies.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (<4.0,>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — playwright, robocorp-tasks |
| Maintenance | actively maintained — 154 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 200,329/month — #9,694 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: robocorp_browser-2.4.0-py3-none-any.whl
Tags
More Testing packages
Pluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
virtualenvvirtualenv creates isolated Python environments…
permissive · top 100 on PyPI
coverageCoverage.py measures which lines of Python code…
permissive · top 1,000 on PyPI
pytest-asynciopytest-asyncio is a pytest plugin that enables…
permissive · top 1,000 on PyPI
pytest-json-ctrfA pytest plugin that generates test reports in…
permissive · top 1,000 on PyPI
robocorp-tasksrobocorp-tasks is a Python framework for…
permissive · top 15,000 on PyPI
shot-scraperA CLI tool that automates taking screenshots of…
permissive · top 15,000 on PyPI
robocorp-logProvides structured, automatic logging for…
permissive · top 15,000 on PyPI
pytest-playwrightA pytest plugin that integrates Playwright…
permissive · top 5,000 on PyPI
robotframework-browserBrowser automation library for Robot Framework…
permissive · top 5,000 on PyPI
robocorp-workitemsManages data flow through multi-step robotic…
permissive · top 15,000 on PyPI
scrapy-playwrightIntegrates Playwright browser automation into…
permissive · top 5,000 on PyPI
pytest-playwright-asyncioA pytest plugin that integrates Playwright…
permissive · top 15,000 on PyPI
robocorpA meta-package bundling five core Robocorp…
permissive · top 15,000 on PyPI
rpaframeworkRPA Framework is a collection of libraries for…
permissive · top 15,000 on PyPI