Metadata-Version: 2.5
Name: render-lab-tasks-browserbase
Version: 0.1.0
Summary: browserbase tasks for Render Workflows
Project-URL: Repository, https://github.com/render-lab/render-tasks-python
License-Expression: MIT
License-File: LICENSE
Requires-Python: >=3.12
Requires-Dist: httpx<0.29,>=0.28
Requires-Dist: playwright<2,>=1.50
Requires-Dist: render-lab-tasks-core<0.2,>=0.1.1
Requires-Dist: render==1.0.1
Description-Content-Type: text/markdown

# render-lab-tasks-browserbase

Twelve Browserbase tasks for contexts, sessions, browser actions and artifacts.
Use `render_lab_tasks_browserbase.tasks` for the wrapped tasks and injectable raw
implementations. The package root is inert; all boundaries use JSON DTOs.

## Environment

`BROWSERBASE_API_KEY` is required lazily on first use. `BROWSERBASE_PROJECT_ID` is
an optional default project; create calls can supply `projectId` explicitly.

## Behavior

Session creation finds a matching idempotency key before creating a paid session.
Browser actions reconnect through Playwright CDP and always close their local
connection. No local browser installation is required. Closing a session is an
explicit operation. Each HTTP operation makes one attempt; durable retries own retry timing.

Screenshots, uploads, downloads and log output enforce byte budgets. Downloads
read ZIP metadata without extracting files onto disk. The compressed archive has
a 100 MiB transfer cap, and file content is read only up to its requested bound.
Python applies the declared action timeout and keeps the total log text within its
budget; these correct omissions in the pinned TS implementation. See ADR-0014.
Live verification is pending credentials and a disposable Browserbase project.

## Installation

```sh
pip install render-lab-tasks-browserbase==0.1.0
```
