--- id: robocorp-browser version: "2.4.0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # robocorp-browser — Robocorp browser automation library License: permissive · Maintenance: active · Downloads: 200.3K/mo ## 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 above — 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 pip install robocorp-browser uv add robocorp-browser 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_current - Install friction: low - Maintenance: active - Downloads: 200.3K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags browser automation playwright wrapper, web scraping automation library, robotic process automation browser, playwright lifecycle management, automated web testing framework, browser task automation, headless browser control, web-automation, rpa, playwright-wrapper [View on SkillFed](https://skillfed.io/packages/robocorp-browser) · [View on PyPI](https://pypi.org/project/robocorp-browser/)