{"repo":"derekmeegan/browserbase-lambda-playwright","free":true,"listed":false,"github":"https://github.com/derekmeegan/browserbase-lambda-playwright","clone":"git clone https://github.com/derekmeegan/browserbase-lambda-playwright.git","description":"Resilient headless browser automation on AWS Lambda using pure-Python Playwright, Docker, and Browserbase.","language":"Python","stars":15,"topics":["agents","browser","playwright","serverless","webscraping"],"license":"MIT","category":"scrapers-browser-automation","readme_excerpt":"🚀 Serverless Browser Agents with Playwright + Lambda + Browserbase Spin up headless browsers on AWS in under a minute—no layers, no EC2, no pain. Star ⭐ this repo if it saves you hours, and hit Fork to make it yours in seconds. ⚡ TL;DR Quick-Start Option A: Local Deployment Option B: GitHub Actions Deployment --- You now have a Lambda that opens a Browserbase session and runs Playwright code from lambdas/scraper/scraper.py . Invoke it with: OR 🔄 Serverless Async Architecture 1. POST /scrape returns 202 Accepted immediately. 2. Job metadata is stored in DynamoDB ( JobStatusTable ) with status updates (PENDING → RUNNING → SUCCESS/FAILED). 3. GET /scrape/{jobId} polls DynamoDB for the latest job result. 🚀 Why use this template? Zero binary juggling – Playwright lives in the Lambda image; Chrome runs remotely on Browserbase. Cold-start ≈ 2 s – no browser download, just connect-over-CDP. Pay-per-run – pure Lambda pricing; scale by upgrading Browserbase, not infra. Async, serverless – fire-and-forget POST, durable job tracking via DynamoDB. Built-in CI/CD – GitHub Actions deploys on every push to main / staging . 🏗️ High-Level Architecture 📦 Project Layout 🔍 Full Setup & Prerequisites Requirements Tool Version ------------------------- ------------ AWS CLI any 2.x Docker ≥ 20.10 Node & npm any LTS Python 3.12+ Browserbase account free tier OK 1. Install the AWS CLI (See AWS docs for Windows/Linux.) 2. Configure AWS 3. Add Browserbase secrets to AWS Secrets Manager 4. (Optiona","default_branch":null,"files":null,"tree":[],"storefront":"/r/derekmeegan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/derekmeegan/browserbase-lambda-playwright/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}