skillfed

robocorp-browser

Robocorp browser automation library

robocorp-browser v2.4.0 200.3K downloads/30d#9,694 on PyPI646
Permissive license Apache-2.0 Active released

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-browser

uv

uv add robocorp-browser

poetry

poetry add robocorp-browser

Installing 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

License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Tags

browser automation playwright wrapperweb scraping automation libraryrobotic process automation browserplaywright lifecycle managementautomated web testing frameworkbrowser task automationheadless browser control
web-automationrpaplaywright-wrapper

More Testing packages

pluggy

Pluggy provides a plugin system that lets you…

permissive · top 100 on PyPI

pytest

pytest is a testing framework that lets you…

permissive · top 100 on PyPI

virtualenv

virtualenv creates isolated Python environments…

permissive · top 100 on PyPI

coverage

Coverage.py measures which lines of Python code…

permissive · top 1,000 on PyPI

pytest-asyncio

pytest-asyncio is a pytest plugin that enables…

permissive · top 1,000 on PyPI

pytest-json-ctrf

A pytest plugin that generates test reports in…

permissive · top 1,000 on PyPI

robocorp-tasks

robocorp-tasks is a Python framework for…

permissive · top 15,000 on PyPI

shot-scraper

A CLI tool that automates taking screenshots of…

permissive · top 15,000 on PyPI

robocorp-log

Provides structured, automatic logging for…

permissive · top 15,000 on PyPI

pytest-playwright

A pytest plugin that integrates Playwright…

permissive · top 5,000 on PyPI

robotframework-browser

Browser automation library for Robot Framework…

permissive · top 5,000 on PyPI

robocorp-workitems

Manages data flow through multi-step robotic…

permissive · top 15,000 on PyPI

scrapy-playwright

Integrates Playwright browser automation into…

permissive · top 5,000 on PyPI

pytest-playwright-asyncio

A pytest plugin that integrates Playwright…

permissive · top 15,000 on PyPI

robocorp

A meta-package bundling five core Robocorp…

permissive · top 15,000 on PyPI

rpaframework

RPA Framework is a collection of libraries for…

permissive · top 15,000 on PyPI

Further reading