{"templates":[{"slug":"browser-agent-demo","coverType":"cover10","source":"Browserbase","playgroundRunnable":false,"title":"Build a browser agent","shortDescription":"Build an autonomous browser agent that navigates the web, extracts data, and completes tasks using Stagehand and Browserbase cloud browsers.","metaTitle":"Browser Agent Quickstart: Build browser agent","metaDescription":"Build an autonomous browser agent with Stagehand Agent and Browserbase cloud infrastructure. Navigate pages, extract data, and complete multi-step web tasks with AI.","descriptionTitle":"Get started building browser agents on the Browserbase platform","description":"Build a fully autonomous browser agent using [Stagehand Agent](https://docs.stagehand.dev/basics/agent) running on [Browserbase cloud browsers](https://docs.browserbase.com/introduction/getting-started). Give the agent a natural language instruction and it plans, navigates, interacts with pages, and returns structured results — no manual scripting or selector maintenance required.\n\nBrowserbase handles the cloud browser infrastructure: session management, anti-bot stealth mode, proxy rotation, and CAPTCHA solving. You focus on defining the task. The agent handles everything else.\n\nPerfect as a starting point for building AI-powered web automation, research agents, data extraction pipelines, and multi-step workflow bots.","tags":["TypeScript","Stagehand"],"steps":["Use Browserbase Search to find the URLs you want to explore","Then use Browserbase Fetch to extract the content of the page","Initialize a Stagehand session connected to a Browserbase browser","Create a Stagehand Agent with a system prompt describing the task","Give the agent a natural language instruction (e.g., search for a topic and summarize results)","The agent autonomously navigates pages, clicks, types, and extracts data","Returns structured results after completing all steps"],"thumbnail":"/website-assets/templates/thumbnails/browser-agent-template-thumbnail.webp","videoPreview":null,"category":["Computer Use Agents","Web Automation"],"commands":["npx create-browser-app --template browser-agent-demo"]},{"slug":"dynamic-form-filling","coverType":"cover04","source":"Browserbase","playgroundRunnable":true,"title":"AI-powered form filling automation","shortDescription":"Intelligently fill out forms from natural language or unstructured data using AI","metaTitle":"AI form filling automation template","metaDescription":"Intelligently fill out forms from natural language or unstructured data using AI-powered browser automation.","descriptionTitle":"Automate complex form submissions with natural language input","description":"Automatically fill out web forms using natural language or unstructured data without manual field mapping. The AI agent extracts relevant form questions and fills fields with the closest matching options for radio buttons, dropdowns, and checkboxes, even when the wording doesn't exactly match. Built with Stagehand Agent and Browserbase for reliable, autonomous form completion.","steps":["Start a Browserbase session with Stagehand and open the target form URL","Create a Stagehand Agent with a system prompt tailored for form filling","Provide natural language details (e.g., trip description) as the instruction input","Agent fills all required fields, selecting the closest option for radio buttons, dropdowns, and checkboxes","Clicks submit to complete the form submission"],"demoPreview":"/website-assets/templates/gifs/dynamic-form-filling-template.gif","thumbnail":"/website-assets/templates/thumbnails/dynamic-form-filling-template-thumbnail.webp","videoPreview":{"webm":"/website-assets/templates/webm/dynamic-form-filling-template.webm","hevc":"/website-assets/templates/hevc/dynamic-form-filling-template.mp4"},"category":["Form Automation"],"tags":["TypeScript","Stagehand"],"commands":["npx create-browser-app --template dynamic-form-filling"]},{"slug":"agent-with-human-in-loop","coverType":"cover04","source":"Browserbase","playgroundRunnable":false,"title":"Human-in-the-loop agent","shortDescription":"Build a human-in-the-loop AI agent that pauses for user input mid-task, then resumes autonomously with Stagehand and Browserbase.","metaTitle":"Human-in-the-loop AI agent: browser automation template","metaDescription":"Build a human-in-the-loop agent workflow with custom tools, live browser view, and SSE streaming. The AI agent pauses for human input and resumes autonomously.","descriptionTitle":"Get started with human-in-the-loop automation","description":"Give a [Stagehand Agent](https://docs.stagehand.dev/basics/agent) a task and let it work autonomously. When it hits something it can't answer, it pauses and asks the human via a custom `askHuman` tool, then picks up where it left off.\n\nWatch the whole thing happen in real time through [Browserbase Live View](https://docs.browserbase.com/features/session-live-view) with an SSE-powered activity log streaming every step. This template wires up the full loop: agent execution, human input collection, and resume logic, all in a single Next.js app. Perfect for assisted form filling, approval workflows, and supervised data entry where some decisions need a human in the loop.","steps":["Start a Browserbase session and navigate to the target job application page.","The Stagehand Agent begins filling out the application autonomously.","When the agent encounters a field it cannot answer, it invokes the askHuman tool to pause and prompt the user.","The user responds via the frontend UI, and the agent resumes with the provided information.","The agent completes and submits the application, streaming progress via SSE throughout."],"thumbnail":"/website-assets/templates/thumbnails/agent-with-human-in-loop-template-thumbnail.webp","videoPreview":null,"category":["Form Automation","Web Automation"],"tags":["TypeScript","Stagehand"],"commands":["npx create-browser-app --template agent-with-human-in-loop"]},{"slug":"exa-browserbase","coverType":"cover04","source":"Partner","playgroundRunnable":false,"title":"AI job application automation with Exa","shortDescription":"Automatically discover jobs and apply at scale using AI-powered company search and intelligent job application agents.","metaTitle":"AI job application automation with Exa","metaDescription":"Automate job applications with AI-powered job discovery, structured job extraction, and intelligent form filling using Exa, Browserbase, and Stagehand.","descriptionTitle":"Automate AI-powered job search and job applications","description":"Combine [Exa AI search](https://docs.exa.ai/reference/search) with Browserbase and the [Stagehand Agent](https://docs.stagehand.dev/basics/agent) to build a fully automated job search and application workflow.\n\nExa discovers companies and job postings that match your criteria, then identifies official careers pages and open roles. Stagehand extracts structured job data, including titles, requirements, and responsibilities, and automatically fills job application forms using AI-generated, role-specific responses.\n\nBuilt to support concurrent applications and resume uploads via Playwright, this template is ideal for teams building AI job application agents, automated job search tools, or large-scale application workflows.","steps":["Discover companies and job postings using Exa AI-powered job search","Identify official careers pages with domain-specific Exa search","Extract structured job requirements and qualifications with Stagehand","Generate tailored AI responses and auto-fill job application forms","Upload resumes and manage concurrent job applications at scale"],"thumbnail":"/website-assets/templates/thumbnails/exa-browserbase-template-thumbnail.webp","demoPreview":"/website-assets/templates/gifs/exa-browserbase-template.gif","videoPreview":{"webm":"/website-assets/templates/webm/exa-browserbase-template.webm","hevc":"/website-assets/templates/hevc/exa-browserbase-template.mp4"},"category":["Web Automation","Form Automation","Proxies"],"tags":["TypeScript","Python","Stagehand"],"commands":["npx create-browser-app --template exa-browserbase","uvx create-browser-app --template exa-browserbase"],"builtBy":[{"name":"Exa","url":"https://exa.ai"}]},{"slug":"getting-started-with-browserbase","coverType":"cover10","source":"Browserbase","playgroundRunnable":false,"title":"Getting started with Browserbase","shortDescription":"Get started with Browserbase in a single script covering the Search API, Fetch, and browser sessions powered by Playwright.","metaTitle":"Getting started with Browserbase: search, fetch & browser sessions","metaDescription":"Get started with Browserbase using the Search API for programmatic web search, Fetch for quick page retrieval, and Browser Sessions controlled via Playwright and CDP.","descriptionTitle":"Get started with Browserbase","description":"Get up and running with all three core Browserbase capabilities in a single script. The [Search API](https://docs.browserbase.com/features/search) lets you perform web searches programmatically and receive structured results, no browser session required. [Fetch](https://docs.browserbase.com/features/fetch) grabs the content of any URL through Browserbase's infrastructure without creating a browser session, ideal for quick page retrievals where you don't need interactivity. And [Browser Sessions](https://docs.browserbase.com/introduction/getting-started) give you a full cloud browser controlled via [Playwright](https://playwright.dev) and CDP. No AI model required, just your Browserbase API key.","steps":["Run a web search using the Search API and print the top results with titles and URLs","Fetch a Wikipedia page using the Fetch API (no browser) and extract the page title from raw HTML","Create a Browserbase session and connect via CDP using Playwright","Navigate to Wikipedia, search for a topic, and extract the article title, summary, and section headings"],"thumbnail":"/website-assets/templates/thumbnails/getting-started-with-browserbase-template-thumbnail.webp","videoPreview":null,"category":["Web Automation","Fetch API"],"tags":["TypeScript","Python","Playwright"],"commands":["npx create-browser-app --template getting-started-with-browserbase","uvx create-browser-app --template getting-started-with-browserbase"]},{"slug":"smart-fetch-scraper","coverType":"cover08","source":"Browserbase","playgroundRunnable":false,"title":"Smart fetch scraper with browser fallback","shortDescription":"Scrape webpages using the fastest method available: Fetch API first, full browser session as fallback for JS-rendered pages.","metaTitle":"Smart fetch scraper: Fetch API with browser fallback","metaDescription":"Cost-optimized web scraping using Browserbase Fetch API for static pages with automatic browser fallback for JavaScript-rendered content. Sub-second responses, zero AI credits for simple pages.","descriptionTitle":"Get started with the Smart Fetch Scraper","description":"Scrape web pages using the fastest and most cost-effective method available. The [Browserbase Fetch API](https://docs.browserbase.com/features/fetch) handles most pages instantly, retrieving content in milliseconds without spinning up a browser session or using AI credits. For the rare cases where JavaScript rendering is required, the template gracefully falls back to a full [Stagehand](https://docs.stagehand.dev) browser session with AI-powered `extract()`. Perfect for cost-optimized scraping pipelines, speed-sensitive workflows, and hybrid data extraction scenarios.","steps":["Send a POST request to the Browserbase Fetch API (`/v1/fetch`) with the target URL","Check response content length and text density to determine if the page is server-rendered","If content is sufficient, parse the HTML directly for fast, zero-cost extraction","If content is insufficient (JS-rendered pages), fall back to a Stagehand browser session","Use Stagehand's AI-powered extract() with Zod schemas to pull structured data from complex pages"],"thumbnail":"/website-assets/templates/thumbnails/smart-fetch-scraper-template-thumbnail.webp","videoPreview":null,"category":["Web Automation","Fetch API"],"tags":["TypeScript","Python","Stagehand"],"commands":["npx create-browser-app --template smart-fetch-scraper","uvx create-browser-app --template smart-fetch-scraper"]},{"slug":"cerebras-docs-checker","coverType":"cover09","source":"Partner","playgroundRunnable":false,"title":"Documentation checker with Cerebras","shortDescription":"Crawl any docs site, discover its source repo, and verify documentation accuracy against the actual codebase using Cerebras LLMs.","metaTitle":"Documentation checker with Cerebras","metaDescription":"Crawl documentation sites in parallel, discover the source GitHub repo, and verify docs accuracy against source code using Cerebras LLMs and Browserbase.","descriptionTitle":"Get started with the Cerebras Documentation Checker","description":"This template uses Stagehand with Browserbase to crawl documentation sites in parallel, extract accessibility trees, and discover the source GitHub repository. It then clones the repo and runs a Cerebras-powered verification agent that uses tool calling to grep and read source code, cross-referencing every function signature, parameter, code example, and endpoint against the actual implementation. Falls back to content-only analysis when no source repository is found.","steps":["Spin up parallel crawl workers that navigate docs pages via Browserbase and extract accessibility trees with Stagehand","Discover the source GitHub repository from crawled page content and links","Clone the repo and build a file listing for the verification agent","Run a Cerebras-powered tool-calling agent that greps and reads source code to verify every claim in the docs","Generate a summary report with issues categorized by severity and type"],"demoPreview":"/website-assets/templates/gifs/cerebras-docs-checker-template.gif","thumbnail":"/website-assets/templates/thumbnails/cerebras-docs-checker-template-thumbnail.webp","videoPreview":{"webm":"/website-assets/templates/webm/cerebras-docs-checker-template.webm","hevc":"/website-assets/templates/hevc/cerebras-docs-checker-template.mp4"},"category":["Verification","Web Automation"],"tags":["Python","Stagehand"],"commands":[],"externalUrl":"https://github.com/browserbase/templates/tree/dev/python/cerebras-docs-checker","builtBy":[{"name":"Cerebras","url":"https://cerebras.ai"}]},{"slug":"image-url-download","coverType":"cover01","source":"Browserbase","playgroundRunnable":false,"title":"Extract & download images","shortDescription":"Give it a URL, get back every image on the page. Handles product photos, hero images, thumbnails, whatever the page has.","metaTitle":"Image URL download: extract and save images from any page","metaDescription":"Grab structured image URLs from any page with Stagehand extract() and download them through the browser session. Cookies, proxy, and auth handled automatically.","descriptionTitle":"Get started with the Image URL Download template","description":"Point [Stagehand](https://docs.stagehand.dev) at any URL and it [extracts](https://docs.stagehand.dev/basics/extract) every image on the page, `<img>` tags, background images, all of it. Each image is downloaded through the browser's own connection, so cookies, proxy, and auth come along for free. Works on product catalogs, docs sites, landing pages, or anything behind a login. Files are saved with the correct extension based on the actual MIME type.","tags":["TypeScript","Python","Stagehand"],"steps":["Navigate to the target URL and wait for the page to load","Extract all image URLs from the page with Stagehand","Remove duplicates and limit how many images to download","Download each image through the browser's connection, proxy and cookies included","Save images organized by site with the correct file extension"],"thumbnail":"/website-assets/templates/thumbnails/extract-template-thumbnail.webp","videoPreview":null,"category":["Web Automation"],"commands":["npx create-browser-app --template image-url-download","uvx create-browser-app --template image-url-download"]},{"slug":"extend-browserbase","coverType":"cover05","source":"Partner","playgroundRunnable":false,"title":"Download and parse receipts with Extend AI","shortDescription":"Automate downloading expense receipts from web portals and extract structured data using AI-powered document parsing.","metaTitle":"Download & parse expense receipts with Extend AI","metaDescription":"Automate expense receipt downloads from web portals and extract structured data including vendor, date, totals, and line items using Extend AI and Browserbase.","descriptionTitle":"Automate expense receipt collection and AI-powered data extraction","description":"Automate expense receipt collection and structured data extraction with this Browserbase and Extend AI integration template. Use Stagehand to navigate expense portals, automatically download receipts using [Browserbase Downloads](https://docs.browserbase.com/features/downloads), then extract key fields like vendor name, date, totals, and line items using [Extend AI](https://docs.extend.app) document parsing. Perfect for expense automation, receipt digitization, and accounting system integrations.","steps":["Navigate to expense portal and find all receipt download links via Stagehand observe","Click each download button to trigger Browserbase file capture","Poll Browserbase Downloads API until ZIP is ready","Extract receipt files from downloaded ZIP archive","Upload receipts to Extend AI and extract structured data (vendor, date, totals, line items)","Output results as JSON and CSV for accounting systems"],"thumbnail":"/website-assets/templates/thumbnails/extend-browserbase-template-thumbnail.webp","demoPreview":"/website-assets/templates/gifs/extend-browserbase-template.gif","videoPreview":{"webm":"/website-assets/templates/webm/extend-browserbase-template.webm","hevc":"/website-assets/templates/hevc/extend-browserbase-template.mp4"},"category":["Downloads","Web Automation"],"tags":["TypeScript","Python","Stagehand"],"commands":["npx create-browser-app --template extend-browserbase","uvx create-browser-app --template extend-browserbase"],"builtBy":[{"name":"Extend","url":"https://extend.ai"}]},{"slug":"google-trends-keywords","coverType":"cover19","source":"Browserbase","playgroundRunnable":false,"title":"Extract trending keywords from Google Trends","shortDescription":"Extract trending search keywords from Google Trends for any country with structured JSON output for SEO and market research.","metaTitle":"Google Trends keyword extraction automation","metaDescription":"Extract trending search keywords from Google Trends for any country. Get structured JSON output for SEO research, content strategy, and market analysis.","descriptionTitle":"Automate Google Trends keyword extraction for market research","description":"Automatically extract trending search keywords from Google Trends for any country or language. This template navigates to Google Trends, handles consent dialogs, and extracts trending topics with rank positions using Zod schema validation. Perfect for SEO keyword research, content strategy planning, competitive intelligence, and tracking emerging market trends across different regions.","steps":["Initialize Stagehand session with Browserbase","Navigate to Google Trends trending page with configured country and language","Extract trending keywords with rank positions using structured Zod schema","Output formatted JSON with country code, language, timestamp, and keyword list"],"thumbnail":"/website-assets/templates/thumbnails/google-trends-keywords-template-thumbnail.webp","demoPreview":"/website-assets/templates/gifs/google-trends-keywords-template.gif","videoPreview":{"webm":"/website-assets/templates/webm/google-trends-keywords-template.webm","hevc":"/website-assets/templates/hevc/google-trends-keywords-template.mp4"},"category":["Web Automation"],"tags":["TypeScript","Python","Stagehand"],"commands":["npx create-browser-app --template google-trends-keywords","uvx create-browser-app --template google-trends-keywords"]},{"slug":"sec-filing-research","coverType":"cover20","source":"Browserbase","playgroundRunnable":true,"title":"Extract SEC filing data","shortDescription":"Search SEC EDGAR by company name, ticker, or CIK and extract recent filing metadata including 10-K, 10-Q, and 8-K reports.","metaTitle":"SEC EDGAR filing extraction automation","metaDescription":"Automate SEC EDGAR searches and extract filing metadata including 10-K, 10-Q, 8-K reports. Perfect for compliance, due diligence, and financial research.","descriptionTitle":"Automate SEC EDGAR filing research and extraction","description":"Automate SEC EDGAR research by searching for companies by name, ticker symbol, or CIK number and extracting structured filing metadata. This template navigates the SEC website, selects the matching company, and extracts recent filings including type (10-K, 10-Q, 8-K), filing date, description, and accession numbers. Perfect for compliance workflows, due diligence automation, financial research, and building SEC filing databases.","steps":["Navigate to SEC EDGAR company search page","Search for company by name, ticker, or CIK number","Select the matching company from search results","Extract company information including official name and CIK","Extract recent filing metadata (type, date, description, accession number)","Output structured JSON with company info and filing list"],"thumbnail":"/website-assets/templates/thumbnails/sec-filing-research-template-thumbnail.webp","demoPreview":"/website-assets/templates/gifs/sec-filing-research-template.gif","videoPreview":{"webm":"/website-assets/templates/webm/sec-filing-research-template.webm","hevc":"/website-assets/templates/hevc/sec-filing-research-template.mp4"},"category":["Web Automation","Know Your Customer"],"tags":["TypeScript","Python","Stagehand"],"commands":["npx create-browser-app --template sec-filing-research","uvx create-browser-app --template sec-filing-research"]},{"slug":"browserbase-reducto","coverType":"cover02","source":"Partner","playgroundRunnable":false,"title":"PDF scraping and data extraction with Reducto","shortDescription":"Automate downloading PDFs from websites and extract structured data using AI-powered document parsing.","metaTitle":"PDF scraping & data extraction with Reducto","metaDescription":"Automate downloading PDFs from websites and extract structured data using AI-powered document parsing.","descriptionTitle":"Get started with Browserbase Downloads + Reducto Extract","description":"Automate PDF downloads from websites and extract structured financial data with this Browserbase and Reducto integration template. Use Stagehand to navigate investor relations pages, automatically download financial statements and reports as PDFs using [Browserbase Downloads](https://docs.browserbase.com/features/downloads), then extract key metrics like revenue, sales figures, and quarterly earnings using AI-powered document parsing. Perfect for financial data extraction, investor relations automation, quarterly earnings analysis, and automated document processing workflows.","steps":["Navigate to Apple.com investor relations section","Browserbase automatically downloads PDF when link is opened","Poll Browserbase Downloads API until file is ready.","Extract PDF from ZIP archive downloaded from Browserbase","Upload PDF to Reducto and extract structured iPhone net sales data","Output extracted financial data as formatted JSON"],"demoPreview":"/website-assets/templates/gifs/browserbase-reducto-template.gif","thumbnail":"/website-assets/templates/thumbnails/browserbase-reducto-template-thumbnail.webp","videoPreview":{"webm":"/website-assets/templates/webm/browserbase-reducto-template.webm","hevc":"/website-assets/templates/hevc/browserbase-reducto-template.mp4"},"category":["Downloads","Web Automation"],"tags":["TypeScript","Python","Stagehand"],"commands":["npx create-browser-app --template browserbase-reducto","uvx create-browser-app --template browserbase-reducto"],"builtBy":[{"name":"Reducto","url":"https://reducto.ai"}]},{"slug":"mfa-handling","coverType":"cover08","source":"Browserbase","playgroundRunnable":false,"title":"MFA handling: TOTP code generation","shortDescription":"Automate MFA completion using TOTP code generation with RFC 6238 compliant algorithm","metaTitle":"MFA automation: TOTP code generation","metaDescription":"Automate MFA completion using TOTP code generation with RFC 6238 compliant algorithm. Built with Playwright and Stagehand.","descriptionTitle":"Get started automating TOTP-based MFA authentication","description":"This template automates Multi-Factor Authentication (MFA) completion using Time-based One-Time Password (TOTP) code generation. It implements the RFC 6238 compliant algorithm to generate 6-digit codes programmatically, extracts TOTP secrets from pages, and automatically fills MFA forms without user interaction. The template includes retry logic to handle time window edge cases and automatically regenerates codes when authentication fails. Perfect for automated authentication workflows and `zero-touch` MFA completion.","steps":["Navigate to the authentication page with TOTP challenge","Extract test credentials (email, password) and TOTP secret from the page","Generate TOTP code using RFC 6238 algorithm (HMAC-SHA1, 30-second windows)","Fill in email and password fields using Stagehand act","Fill in TOTP code field with the generated code","Submit the authentication form"],"demoPreview":"/website-assets/templates/gifs/mfa-handling-template.gif","thumbnail":"/website-assets/templates/thumbnails/mfa-handling-template-thumbnail.webp","videoPreview":{"webm":"/website-assets/templates/webm/mfa-handling-template.webm","hevc":"/website-assets/templates/hevc/mfa-handling-template.mp4"},"category":["MFA"],"tags":["TypeScript","Python","Stagehand"],"commands":["npx create-browser-app --template mfa-handling","uvx create-browser-app --template mfa-handling"]},{"slug":"cartesia-form-filling","coverType":"cover01","source":"Partner","playgroundRunnable":false,"title":"Voice agent automation with Cartesia","shortDescription":"Voice agent that conducts structured questionnaires using YAML configuration with conditional logic and response validation.","metaTitle":"Voice agent automation with Cartesia","metaDescription":"Voice agent that conducts structured questionnaires using YAML configuration with conditional logic and response validation.","descriptionTitle":"Get started with Cartesia Voice Agent Form Filling","description":"Build a voice agent that conducts structured questionnaires with conditional logic and response validation. This template uses Cartesia's voice AI capabilities combined with Browserbase for browser automation to create intelligent form-filling workflows driven by voice interactions. Configure questionnaires using YAML with support for conditional branching and automated response validation.","steps":["Configure questionnaire structure using YAML with conditional logic","Voice agent initiates conversation and asks questions","Validate responses against defined criteria","Navigate conditional branches based on user answers","Fill web forms with validated responses using Browserbase"],"demoPreview":"/website-assets/templates/gifs/cartesia-form-filling-template.gif","thumbnail":"/website-assets/templates/thumbnails/cartesia-template-thumbnail.webp","videoPreview":{"webm":"/website-assets/templates/webm/cartesia-form-filling-template.webm","hevc":"/website-assets/templates/hevc/cartesia-form-filling-template.mp4"},"category":["Form Automation"],"tags":["Python","Stagehand"],"commands":[],"externalUrl":"https://github.com/browserbase/templates/tree/dev/python/cartesia-form-filling","builtBy":[{"name":"Cartesia","url":"https://cartesia.ai"}]},{"slug":"proxies-weather","coverType":"cover09","source":"Browserbase","playgroundRunnable":false,"title":"Scrape with geolocation proxies","shortDescription":"Route browser automation traffic through specific geolocations to access region-specific content","metaTitle":"Proxy rotation & geolocation scraping","metaDescription":"Route browser automation traffic through specific geolocations to access region-specific content. Built with Playwright and Stagehand.","descriptionTitle":"Access region-specific content with geolocation proxies","description":"Route your browser automation traffic through specific cities to access location-dependent content. This template shows how to configure geolocation proxies (New York, London, Tokyo, São Paulo) and extract region-specific data from websites. Perfect for price comparison across regions, localized content testing, and geo-restricted site access. Uses [Browserbase Proxies](https://docs.browserbase.com/features/proxies) with structured data extraction.","steps":["Configure a Browserbase session with a geolocation proxy (city/country/state)","Navigate to a weather site through that proxy","Extract the current temperature and unit with Stagehand + Zod schema validation","Repeat for multiple locations to compare results across geographies","Print a formatted summary of weather results for all locations"],"demoPreview":"/website-assets/templates/gifs/proxies-weather-template.gif","thumbnail":"/website-assets/templates/thumbnails/proxies-weather-template-thumbnail.webp","videoPreview":{"webm":"/website-assets/templates/webm/proxies-weather-template.webm","hevc":"/website-assets/templates/hevc/proxies-weather-template.mp4"},"category":["Proxies"],"tags":["TypeScript","Python","Stagehand"],"commands":["npx create-browser-app --template proxies-weather","uvx create-browser-app --template proxies-weather"]},{"slug":"basic-caching","coverType":"cover18","source":"Browserbase","playgroundRunnable":false,"title":"Cache browser automation actions","shortDescription":"Reduce cost and latency by caching browser automation actions across runs","metaTitle":"Browser automation caching template","metaDescription":"Reduce cost and latency by caching browser automation actions and reusing results across runs.","descriptionTitle":"Cache browser automation actions to reduce cost and latency","description":"Speed up repeated browser automation workflows by caching action results and reusing them across runs. The first run executes actions normally (with LLM calls), while subsequent runs reuse cached results for near-instant execution and $0 additional LLM cost. Perfect for workflows that run the same steps repeatedly, like checkout flows, form submissions, or data extraction pipelines.","steps":["Run the workflow once without caching to establish a baseline","Enable caching and set a cache directory to persist action results across runs","Repeat the same workflow to populate the cache (first cached run)","Run the script again to demonstrate cache hits (0 LLM calls, faster execution)","Inspect the cache directory to see cached action entries"],"thumbnail":"/website-assets/templates/thumbnails/basic-caching-template-thumbnail.webp","videoPreview":null,"category":["Web Automation"],"tags":["TypeScript","Python","Stagehand"],"commands":["npx create-browser-app --template basic-caching","uvx create-browser-app --template basic-caching"]},{"slug":"manual-mfa-with-contexts","coverType":"cover01","source":"Browserbase","playgroundRunnable":false,"title":"Skip MFA on repeat logins","shortDescription":"Complete MFA once and reuse authentication across future browser sessions","metaTitle":"Browser session persistence & MFA automation","metaDescription":"Complete MFA once and reuse authentication across future browser sessions automatically. Built with Playwright and Stagehand.","descriptionTitle":"Persist authentication and skip MFA on repeat sessions","description":"Eliminate MFA friction by completing authentication once and reusing it across future sessions. The first session saves authentication state including MFA trust and \"remember device\" status. Subsequent sessions automatically restore this state with no login or MFA prompts required. Perfect for payment automation, account management, and compliance workflows where you need reliable, repeated access to authenticated sites.","steps":["Create a new Browserbase context to persist authentication state","First session: Navigate to login page and fill in credentials","Detect MFA prompt and pause for manual MFA completion","Wait for user to complete MFA in the browser session","Context automatically saves authentication state including MFA trust","Second session: Reuse context with no login or MFA required","Verify authentication by checking logged-in state"],"thumbnail":"/website-assets/templates/thumbnails/manual-mfa-with-contexts-template-thumbnail.webp","videoPreview":null,"category":["MFA","Contexts"],"tags":["TypeScript","Python","Stagehand"],"commands":["npx create-browser-app --template manual-mfa-with-contexts","uvx create-browser-app --template manual-mfa-with-contexts"]},{"slug":"basic-recaptcha","coverType":"cover19","source":"Browserbase","playgroundRunnable":true,"title":"Solve CAPTCHAs automatically","shortDescription":"Automatically solve reCAPTCHAs and other CAPTCHAs without manual intervention","metaTitle":"CAPTCHA solver automation","metaDescription":"Automatically solve reCAPTCHAs and other CAPTCHAs without manual intervention. Built with Playwright and Stagehand.","descriptionTitle":"Automate CAPTCHA solving in your browser workflows","description":"Automatically solve reCAPTCHAs and other CAPTCHAs without manual intervention. [Browserbase](https://docs.browserbase.com/features/stealth-mode) detects and solves CAPTCHAs in the background by default, allowing your automation to continue seamlessly. This template shows how to monitor solving progress, handle form submissions after CAPTCHA completion, and verify successful resolution.","steps":["Initialize Stagehand with Browserbase and enable captcha solving in browser settings","Navigate to a page with a reCAPTCHA challenge","Listen for console messages to track captcha solving progress","Wait for automatic solving to complete","Continue with form submission or next steps after captcha is solved"],"demoPreview":"/website-assets/templates/gifs/basic-recaptcha-template.gif","thumbnail":"/website-assets/templates/thumbnails/basic-recaptcha-template-thumbnail.webp","videoPreview":{"webm":"/website-assets/templates/webm/basic-recaptcha-template.webm","hevc":"/website-assets/templates/hevc/basic-recaptcha-template.mp4"},"category":["Stealth Mode"],"tags":["TypeScript","Python","Stagehand"],"commands":["npx create-browser-app --template basic-recaptcha","uvx create-browser-app --template basic-recaptcha"]},{"slug":"website-link-tester","coverType":"cover07","source":"Browserbase","playgroundRunnable":true,"title":"Find broken links on websites","shortDescription":"Crawl your website to find broken links and validate page content automatically","metaTitle":"Website link testing automation","metaDescription":"Crawl your website to find broken links and validate page content automatically.","descriptionTitle":"Find broken links and validate website content","description":"Automatically crawl your website, extract all links, and verify each one loads correctly. This template opens each link in a dedicated browser session, checks if pages load successfully, validates that content matches link text, and handles social media links appropriately. Process links in configurable concurrent batches for faster results. Perfect for QA, broken link detection, and website maintenance.","steps":["Navigate to the target website and extract all links with their text","Deduplicate links to avoid redundant checks","Process links in configurable concurrent batches","For each link: open in a browser session, verify page loads, and check if content matches link text","Generate a comprehensive JSON with success/failure status for all links"],"demoPreview":"/website-assets/templates/gifs/website-link-tester-template.gif","thumbnail":"/website-assets/templates/thumbnails/website-link-tester-template-thumbnail.webp","videoPreview":{"webm":"/website-assets/templates/webm/website-link-tester-template.webm","hevc":"/website-assets/templates/hevc/website-link-tester-template.mp4"},"category":["Web Automation"],"tags":["TypeScript","Python","Stagehand"],"commands":["npx create-browser-app --template website-link-tester","uvx create-browser-app --template website-link-tester"]},{"slug":"job-application","coverType":"cover19","source":"Browserbase","playgroundRunnable":false,"title":"AI-powered job applications","shortDescription":"Discover job listings and submit applications automatically in parallel","metaTitle":"AI job application automation","metaDescription":"Discover job listings and submit applications automatically in parallel.","descriptionTitle":"Automate bulk job applications at scale","description":"Automate the job application process from discovery to submission. This template extracts job listings from job boards, generates unique applicant identifiers, fills application forms, uploads resumes, and submits applications in parallel. Supports configurable concurrency limits for bulk processing. Perfect for recruitment automation, job market research, and application tracking workflows.","steps":["Navigate to agent job board and extract all job listings with titles and URLs","Create semaphore for concurrency control based on Browserbase project limits","Apply to all jobs in parallel (respecting concurrency limit)","For each application: generate unique agent ID and email, navigate to job page, fill form fields, upload resume PDF, and submit","Display completion message when all applications are finished"],"demoPreview":"/website-assets/templates/gifs/job-application-template.gif","thumbnail":"/website-assets/templates/thumbnails/job-application-template-thumbnail.webp","videoPreview":{"webm":"/website-assets/templates/webm/job-application-template.webm","hevc":"/website-assets/templates/hevc/job-application-template.mp4"},"category":["Web Automation"],"tags":["TypeScript","Python","Stagehand"],"commands":["npx create-browser-app --template job-application","uvx create-browser-app --template job-application"]},{"slug":"microsoft-cua","coverType":"cover14","source":"Browserbase","playgroundRunnable":false,"title":"AI browser agent: Microsoft Fara-7B","shortDescription":"Execute autonomous web tasks using Microsoft's Fara-7B computer use model","metaTitle":"AI browser agent: Microsoft Fara-7B","metaDescription":"Execute autonomous web tasks using Microsoft's Fara-7B computer use model.","descriptionTitle":"Run autonomous browser tasks with Microsoft Fara-7B","description":"Execute web tasks autonomously using Microsoft's Fara-7B [computer use agent](https://docs.stagehand.dev/v3/basics/agent#computer-use-agents). Give the agent a natural language instruction and it navigates pages, performs searches, clicks through flows, and returns structured results, all without manual scripting. Built on Browserbase for reliable cloud browser execution.","steps":["Uses Stagehand Agent with Microsoft's Fara-7B model to control the browser","Navigates the web and performs the given instruction autonomously","Returns the final result after completing all steps"],"demoPreview":"/website-assets/templates/gifs/microsoft-cua-template.gif","thumbnail":"/website-assets/templates/thumbnails/microsoft-cua-template-thumbnail.webp","videoPreview":{"webm":"/website-assets/templates/webm/microsoft-cua-template.webm","hevc":"/website-assets/templates/hevc/microsoft-cua-template.mp4"},"category":["Computer Use Agents"],"tags":["TypeScript","Stagehand"],"commands":["npx create-browser-app --template microsoft-cua"]},{"slug":"download-financial-statements","coverType":"cover08","source":"Browserbase","playgroundRunnable":false,"title":"Download financial statements","shortDescription":"Navigate investor relations pages and download quarterly earnings reports as PDFs","metaTitle":"Financial statement PDF download automation","metaDescription":"Navigate investor relations pages and download quarterly earnings reports as PDFs automatically. Built with Playwright and Stagehand.","descriptionTitle":"Automate financial statement downloads from investor relations pages","description":"Automatically download financial statements from company investor relations pages using [Browserbase Downloads](https://docs.browserbase.com/features/downloads). This template navigates to quarterly earnings sections, downloads all available financial reports as PDFs, and packages them for downstream processing. Perfect for financial research, earnings analysis, and automated document collection workflows.","steps":["Navigate to company homepage","Click the 'Investors' button at the bottom of the page","Scroll to the Financial Data section and select the current year (e.g., 2025)","Download financial statements for Q4, Q3, Q2, and Q1","Poll Browserbase API every 2 seconds until all downloads are ready","Save all files as a zip file"],"demoPreview":"/website-assets/templates/gifs/download-financial-statements-template.gif","thumbnail":"/website-assets/templates/thumbnails/download-financial-statements-template-thumbnail.webp","videoPreview":{"webm":"/website-assets/templates/webm/download-financial-statements-template.webm","hevc":"/website-assets/templates/hevc/download-financial-statements-template.mp4"},"category":["Downloads"],"tags":["TypeScript","Python","Stagehand"],"commands":["npx create-browser-app --template download-financial-statements","uvx create-browser-app --template download-financial-statements"]},{"slug":"company-address-finder","coverType":"cover16","source":"Browserbase","playgroundRunnable":false,"title":"Find company addresses for KYC","shortDescription":"Extract company mailing addresses from Terms of Service and Privacy Policy pages","metaTitle":"Know your customer automation: company address finder","metaDescription":"Extract company mailing addresses from Terms of Service and Privacy Policy pages for Know Your Customer compliance.","descriptionTitle":"Find company addresses from legal pages for compliance verification","description":"Automatically extract company physical addresses for Know Your Customer verification by searching for company websites and navigating to their legal documents. This template finds homepages, locates Terms of Service and Privacy Policy pages, and extracts structured address data. Perfect for compliance workflows, vendor verification, and due diligence processes.","steps":["Navigate to Google using CUA agent to search for company homepage","Agent autonomously navigates to the company website","Extract Terms of Service and Privacy Policy links from homepage","Navigate to Terms of Service and extract physical mailing address","Fallback to Privacy Policy if address not found in Terms of Service","Return structured JSON with all extracted company data"],"demoPreview":"/website-assets/templates/gifs/company-address-finder-template.gif","thumbnail":"/website-assets/templates/thumbnails/company-address-finder-template-thumbnail.webp","videoPreview":{"webm":"/website-assets/templates/webm/company-address-finder-template.webm","hevc":"/website-assets/templates/hevc/company-address-finder-template.mp4"},"category":["Know Your Customer"],"tags":["TypeScript","Python","Stagehand"],"commands":["npx create-browser-app --template company-address-finder","uvx create-browser-app --template company-address-finder"]},{"slug":"council-events","coverType":"cover20","source":"Browserbase","playgroundRunnable":true,"title":"Scrape calendar events","shortDescription":"Extract structured event data from public calendars including names, dates, and times","metaTitle":"Calendar scraping automation","metaDescription":"Extract structured event data from public calendars including names, dates, and times. Built with Playwright and Stagehand.","descriptionTitle":"Scrape public calendars for event data","description":"Extract structured event data from public calendars automatically. This template navigates to calendar pages, applies filters (like year selection), and extracts event details including names, dates, and times into structured JSON. Perfect for civic monitoring, event aggregation, meeting tracking, and public records automation.","steps":["Navigate to Philadelphia Council calendar website","Click calendar from the navigation menu","Select year from the dropdown (e.g., 2025)","Extract structured event data with names, dates, and times","Return typed object with all events"],"demoPreview":"/website-assets/templates/gifs/council-events-template.gif","thumbnail":"/website-assets/templates/thumbnails/council-events-template-thumbnail.webp","videoPreview":{"webm":"/website-assets/templates/webm/council-events-template.webm","hevc":"/website-assets/templates/hevc/council-events-template.mp4"},"category":["Verification"],"tags":["TypeScript","Python","Stagehand"],"commands":["npx create-browser-app --template council-events","uvx create-browser-app --template council-events"]},{"slug":"polymarket-research","coverType":"cover09","source":"Browserbase","playgroundRunnable":true,"title":"Scrape prediction market data","shortDescription":"Extract odds, prices, and volume data from prediction market platforms","metaTitle":"Prediction market data scraping","metaDescription":"Extract odds, prices, and volume data from prediction market platforms.","descriptionTitle":"Scrape prediction markets for odds and pricing data","description":"Extract structured data from prediction market platforms including current odds, yes/no prices, total volume, and price changes. This template searches for specific markets, navigates to detail pages, and returns structured JSON. Perfect for market intelligence, trading analysis, sentiment tracking, and research automation.","steps":["Navigate to Polymarket website","Search for a specific prediction market","Select the first market result from search dropdown","Extract market data including odds, prices, volume, and changes","Return structured JSON with market information"],"demoPreview":"/website-assets/templates/gifs/polymarket-research-template.gif","thumbnail":"/website-assets/templates/thumbnails/polymarket-research-template-thumbnail.webp","videoPreview":{"webm":"/website-assets/templates/webm/polymarket-research-template.webm","hevc":"/website-assets/templates/hevc/polymarket-research-template.mp4"},"category":["Web Automation"],"tags":["TypeScript","Python","Stagehand"],"commands":["npx create-browser-app --template polymarket-research","uvx create-browser-app --template polymarket-research"]},{"slug":"nurse-verification","coverType":"cover01","source":"Browserbase","playgroundRunnable":true,"title":"Verify nurse licenses","shortDescription":"Verify nurse licenses and extract status, expiration, and holder details automatically","metaTitle":"License verification automation","metaDescription":"Verify nurse licenses and extract status, expiration, and holder details automatically.","descriptionTitle":"Automate nurse license verification for compliance","description":"Automatically verify nurse licenses by navigating to state verification portals, submitting license lookups, and extracting verification results. Returns structured data including license status, expiration dates, and holder details. Perfect for HR compliance, healthcare staffing agencies, and regulatory reporting workflows.","steps":["Loop through license records to verify","Navigate to license verification site","Fill form with first name, last name, and license number","Submit search and wait for results","Extract verification results including name, license number, and status"],"demoPreview":"/website-assets/templates/gifs/validate-nurses-template.gif","thumbnail":"/website-assets/templates/thumbnails/validate-nurses-template-thumbnail.webp","videoPreview":{"webm":"/website-assets/templates/webm/validate-nurses-template.webm","hevc":"/website-assets/templates/hevc/validate-nurses-template.mp4"},"category":["Verification"],"tags":["TypeScript","Python","Stagehand"],"commands":["npx create-browser-app --template nurse-verification","uvx create-browser-app --template nurse-verification"]},{"slug":"business-lookup","coverType":"cover07","source":"Browserbase","playgroundRunnable":true,"title":"Search business registries for KYC","shortDescription":"Search business registries and extract registration details, NAICS codes, and ownership data","metaTitle":"Know your customer automation: business registry lookup","metaDescription":"Search business registries and extract registration details, NAICS codes, and ownership data. Built with Playwright and Stagehand.","descriptionTitle":"Automate business registry lookups for compliance verification","description":"Automatically search business registries and extract structured company information for Know Your Customer verification. This template navigates registry search interfaces, applies filters, and extracts registration details including DBA names, account numbers, NAICS codes, and addresses. Perfect for business verification, vendor due diligence, and compliance automation.","steps":["Navigate to the SF Business Registry search page","Agent uses DBA Name filter to search for the business autonomously","Agent opens business details and navigates to view complete information","Extract structured business data (DBA Name, Account Number, NAICS Code, Address, etc.)","Return validated business information as structured JSON"],"demoPreview":"/website-assets/templates/gifs/business-lookup-template.gif","thumbnail":"/website-assets/templates/thumbnails/business-lookup-template-thumbnail.webp","videoPreview":{"webm":"/website-assets/templates/webm/business-lookup-template.webm","hevc":"/website-assets/templates/hevc/business-lookup-template.mp4"},"category":["Know Your Customer"],"tags":["TypeScript","Python","Stagehand"],"commands":["npx create-browser-app --template business-lookup","uvx create-browser-app --template business-lookup"]},{"slug":"company-value-prop-generator","coverType":"cover15","source":"Browserbase","playgroundRunnable":false,"title":"Extract company data from websites","shortDescription":"Extract company value propositions from websites for lead enrichment and outreach","metaTitle":"Company website scraping & lead enrichment","metaDescription":"Extract company value propositions from websites for lead enrichment and personalized outreach.","descriptionTitle":"Extract website value propositions for personalized outreach","description":"Extract value propositions from company landing pages and format them into personalized email openers. This template analyzes websites, pulls key messaging, and generates concise one-liners for outreach. Includes placeholder page detection and validation to filter out non-functional sites. Perfect for sales prospecting, lead enrichment, and personalized email campaigns.","steps":["Navigate to a landing page URL","Extract value propositions using Stagehand's extract method","Validate content and filter out placeholder pages","Format into concise one-liners (9 words max, starts with 'your')"],"demoPreview":"/website-assets/templates/gifs/one-line-generator-template.gif","thumbnail":"/website-assets/templates/thumbnails/one-line-generator-template-thumbnail.webp","videoPreview":{"webm":"/website-assets/templates/webm/one-line-generator-template.webm","hevc":"/website-assets/templates/hevc/one-line-generator-template.mp4"},"category":["Know Your Customer"],"tags":["TypeScript","Python","Stagehand"],"commands":["npx create-browser-app --template company-value-prop-generator","uvx create-browser-app --template company-value-prop-generator"]},{"slug":"gemini-cua","coverType":"cover11","source":"Browserbase","playgroundRunnable":false,"title":"AI browser agent: Gemini 2.5","shortDescription":"Execute autonomous web tasks using Google's Gemini 2.5 computer use model","metaTitle":"AI browser agent: Gemini 2.5","metaDescription":"Execute autonomous web tasks using Google's Gemini 2.5 computer use model.","descriptionTitle":"Run autonomous browser tasks with Gemini 2.5","description":"Execute web tasks autonomously using Google's Gemini 2.5 [computer use agent](https://docs.stagehand.dev/v3/basics/agent#computer-use-agents). Give the agent a natural language instruction and it navigates pages, performs searches, clicks through flows, and returns structured results, all without manual scripting. Built on Browserbase for reliable cloud browser execution.","steps":["Uses Stagehand Agent with the Gemini 2.5 Computer Use to control the browser","Navigates the web and performs the given instruction autonomously","Returns the final result after completing all steps"],"demoPreview":"/website-assets/templates/gifs/gemini-cua-template.gif","thumbnail":"/website-assets/templates/thumbnails/gemini-cua-template-thumbnail.webp","videoPreview":{"webm":"/website-assets/templates/webm/gemini-cua-template.webm","hevc":"/website-assets/templates/hevc/gemini-cua-template.mp4"},"category":["Computer Use Agents"],"tags":["TypeScript","Python","Stagehand"],"commands":["npx create-browser-app --template gemini-cua","uvx create-browser-app --template gemini-cua"]},{"slug":"gemini-3-flash","coverType":"cover09","source":"Browserbase","playgroundRunnable":false,"title":"AI browser agent: Gemini 3 Flash","shortDescription":"Execute autonomous web tasks using Google's Gemini 3 Flash model","metaTitle":"AI browser agent: Gemini 3 Flash","metaDescription":"Execute autonomous web tasks using Google's Gemini 3 Flash model.","descriptionTitle":"Run autonomous browser tasks with Gemini 3 Flash","description":"Execute web tasks autonomously using Google's Gemini 3 Flash [computer use agent](https://docs.stagehand.dev/v3/basics/agent#computer-use-agents). Give the agent a natural language instruction and it navigates pages, performs searches, clicks through flows, and returns structured results, all without manual scripting. Built on Browserbase for reliable cloud browser execution.","steps":["Uses Stagehand Agent with Gemini 3 Flash to control the browser","Navigates the web and performs the given instruction autonomously","Returns the final result after completing all steps"],"demoPreview":"/website-assets/templates/gifs/gemini-3-flash-template.gif","thumbnail":"/website-assets/templates/thumbnails/gemini-3-flash-template-thumbnail.webp","videoPreview":{"webm":"/website-assets/templates/webm/gemini-3-flash-template.webm","hevc":"/website-assets/templates/hevc/gemini-3-flash-template.mp4"},"category":["Web Automation"],"tags":["TypeScript","Stagehand"],"commands":["npx create-browser-app --template gemini-3-flash"]},{"slug":"pickleball","coverType":"cover05","source":"Browserbase","playgroundRunnable":false,"title":"Automate sports court bookings","shortDescription":"Automate court reservations by finding availability and completing bookings end-to-end","metaTitle":"Sports court booking automation","metaDescription":"Automate court reservations by finding availability and completing bookings end-to-end.","descriptionTitle":"Automate court and venue reservations","description":"Automate the entire booking process from login to confirmation. This template finds available time slots, applies filters, handles verification codes, and completes reservations automatically. Perfect for sports court bookings, venue reservations, and any scheduling workflow that requires speed and reliability.","steps":["Navigates to [https://www.rec.us/organizations/san-francisco-rec-park](https://www.rec.us/organizations/san-francisco-rec-park)","Selects the filters and finds available courts","Processes the booking"],"demoPreview":"/website-assets/templates/gifs/pickleball-court-booking-template.gif","thumbnail":"/website-assets/templates/thumbnails/pickleball-court-booking-template-thumbnail.webp","videoPreview":{"webm":"/website-assets/templates/webm/pickleball-court-booking-template.webm","hevc":"/website-assets/templates/hevc/pickleball-court-booking-template.mp4"},"category":["Web Automation"],"tags":["TypeScript","Python","Stagehand"],"commands":["npx create-browser-app --template pickleball","uvx create-browser-app --template pickleball"]},{"slug":"gift-finder","coverType":"cover08","source":"Browserbase","playgroundRunnable":false,"title":"Scrape e-commerce products","shortDescription":"Search multiple e-commerce sites in parallel and extract product details with AI scoring","metaTitle":"E-commerce scraping automation","metaDescription":"Search multiple e-commerce sites in parallel and extract product details with AI scoring.","descriptionTitle":"Scrape e-commerce sites for product data and recommendations","description":"Search multiple e-commerce retailers simultaneously and extract structured product data including prices, descriptions, and availability. This template runs concurrent browser sessions, applies AI scoring to rank results, and returns curated recommendations. Extensible with proxies for regional pricing, additional retailers, and custom ranking criteria.","steps":["Collect insights about the recipient (interests, budget, preferences).","Send the profile to AI to generate tailored search queries.","Launch three concurrent Browserbase sessions to run those searches across retailers.","Stagehand extracts structured product details (name, price, description, etc.).","Return a ranked list of gift recommendations with clear reasoning."],"category":["Web Automation","E-commerce"],"demoPreview":"/website-assets/templates/gifs/thoughtful-gift-finder-template.gif","thumbnail":"/website-assets/templates/thumbnails/thoughtful-gift-finder-template-thumbnail.webp","videoPreview":{"webm":"/website-assets/templates/webm/thoughtful-gift-finder-template.webm","hevc":"/website-assets/templates/hevc/thoughtful-gift-finder-template.mp4"},"tags":["TypeScript","Python","Stagehand"],"commands":["npx create-browser-app --template gift-finder","uvx create-browser-app --template gift-finder"]},{"slug":"form-filling","coverType":"cover12","source":"Browserbase","playgroundRunnable":true,"title":"Fill forms automatically","shortDescription":"Fill web forms automatically by mapping your data to fields dynamically without selectors","metaTitle":"Form filling automation template","metaDescription":"Fill web forms automatically by mapping your data to fields dynamically without selectors.","descriptionTitle":"Automate form filling without brittle selectors","description":"Fill web forms reliably without hard-coding selectors. This template analyzes form fields, matches your data to the right inputs, and fills them dynamically, making automations more durable across different layouts. Perfect for lead capture, QA testing, bulk registrations, and survey submissions.","steps":["Create a Browserbase session and navigate to the form URL.","Stagehand scans the page to detect all input fields and build a field schema.","Provide your data object (e.g., name, email, company), and Stagehand maps values to the right fields.","The script fills inputs, handles validation, and submits the form."],"demoPreview":"/website-assets/templates/gifs/online-form-filling-template.gif","thumbnail":"/website-assets/templates/thumbnails/online-form-filling-template-thumbnail.webp","videoPreview":{"webm":"/website-assets/templates/webm/online-form-filling-template.webm","hevc":"/website-assets/templates/hevc/online-form-filling-template.mp4"},"category":["Form Automation"],"tags":["TypeScript","Python","Stagehand"],"commands":["npx create-browser-app --template form-filling","uvx create-browser-app --template form-filling"]},{"slug":"license-verification","coverType":"cover04","source":"Browserbase","playgroundRunnable":true,"title":"Verify real estate licenses","shortDescription":"Verify real estate licenses and extract status, expiration, and holder details automatically","metaTitle":"Real estate license verification automation","metaDescription":"Verify real estate licenses and extract status, expiration, and holder details automatically. Built with Playwright and Stagehand.","descriptionTitle":"Automate real estate license verification","description":"Automatically verify real estate licenses by navigating to official registry portals, submitting lookups, and extracting structured verification results. Returns validated data including license status, expiration dates, and holder details. Perfect for compliance workflows, CRM enrichment, and real estate transaction verification.","steps":["Open a Browserbase session and navigate to the license lookup portal.","Enter and submit a query (e.g., license number or holder name).","Extract results such as license status, expiration date, and holder details.","Validate and type-check the extracted data with a Zod schema.","Return a reliable, structured object for downstream use."],"demoPreview":"/website-assets/templates/gifs/real-estate-license-verification-template.gif","thumbnail":"/website-assets/templates/thumbnails/real-estate-license-verification-template-thumbnail.webp","videoPreview":{"webm":"/website-assets/templates/webm/real-estate-license-verification-template.webm","hevc":"/website-assets/templates/hevc/real-estate-license-verification-template.mp4"},"category":["Verification"],"tags":["TypeScript","Python","Stagehand"],"commands":["npx create-browser-app --template license-verification","uvx create-browser-app --template license-verification"]},{"slug":"proxies","coverType":"cover03","source":"Browserbase","playgroundRunnable":false,"title":"Rotate proxies for scraping","shortDescription":"Route browser traffic through rotating, geo-specific, or custom proxies","metaTitle":"Proxy rotation automation","metaDescription":"Route browser traffic through rotating, geo-specific, or custom proxies for reliable automation. Built with Playwright and Stagehand.","descriptionTitle":"Control traffic routing with proxy automation","description":"Control where and how your browser automation traffic is routed using [Browserbase Proxies](https://docs.browserbase.com/features/proxies). Start with built-in rotating proxies, switch to geo-specific endpoints (US, EU, APAC), or configure your own custom proxy for compliance needs. Perfect for accessing region-locked sites, localized testing, and workflows requiring specific IP addresses.","steps":["Create a Browserbase session with a default proxy (built-in rotation).","Verify IP address and geolocation from within the session.","Configure a geo-specific proxy (e.g., US, EU, or APAC).","Rerun the verification to confirm the new routing.","(Optional) Provide custom external proxy settings for specialized compliance or access needs."],"demoPreview":"/website-assets/templates/thumbnails/proxy-routing-template-thumbnail.webp","thumbnail":"/website-assets/templates/thumbnails/proxy-routing-template-thumbnail.webp","videoPreview":null,"category":["Proxies"],"tags":["TypeScript","Python","Stagehand"],"commands":["npx create-browser-app --template proxies","uvx create-browser-app --template proxies"]},{"slug":"context","coverType":"cover14","source":"Browserbase","playgroundRunnable":false,"title":"Persist login sessions","shortDescription":"Save and reuse authentication state across browser sessions to skip repeated logins","metaTitle":"Browser session persistence automation","metaDescription":"Save and reuse authentication state across browser sessions to skip repeated logins. Built with Playwright and Stagehand.","descriptionTitle":"Persist authentication across browser sessions","description":"Skip repeated logins by persisting authentication across browser sessions using [Browserbase Contexts](https://docs.browserbase.com/features/contexts). Save cookies, tokens, and session state once, then reuse them in future sessions for faster, more reliable automation. Perfect for accessing gated content, scheduled jobs, and workflows that require consistent authenticated access.","steps":["Create a Browserbase session and log in to a target site using Stagehand.","Save the session's context (including cookies, storage, and tokens).","Reuse the stored context in new sessions without needing to log in again.","Run subsequent scripts faster with authentication and state already in place."],"demoPreview":"/website-assets/templates/gifs/browserbase-contexts-template.gif","thumbnail":"/website-assets/templates/thumbnails/browserbase-contexts-template-thumbnail.webp","videoPreview":{"webm":"/website-assets/templates/webm/browserbase-contexts-template.webm","hevc":"/website-assets/templates/hevc/browserbase-contexts-template.mp4"},"category":["Contexts"],"tags":["TypeScript","Python","Stagehand"],"commands":["npx create-browser-app --template context","uvx create-browser-app --template context"]},{"slug":"playwright","sourcePath":"playwright/quickstart-playwright","coverType":"cover10","source":"Quickstart","playgroundRunnable":false,"title":"Quickstart: Playwright","shortDescription":"Connect to a cloud browser via Playwright and Browserbase, navigate a real website, interact with UI elements, and extract page content.","metaTitle":"Quickstart: Playwright + Browserbase — cloud browser automation","metaDescription":"Get started with Playwright and Browserbase in minutes. Connect to a cloud browser, navigate websites, interact with UI elements, and extract content — no AI required.","descriptionTitle":"Get started with Playwright + Browserbase","description":"Get up and running with [Playwright](https://playwright.dev) and [Browserbase](https://docs.browserbase.com/introduction/playwright) in a single script. Connect to a cloud browser via [CDP](https://docs.browserbase.com/introduction/getting-started), navigate to a real website (SFMOMA), interact with UI elements like search overlays and navigation links, and extract structured content from the page. No AI model required — just Playwright and your Browserbase API key.","tags":["TypeScript","Python","Playwright"],"steps":["Create a Browserbase cloud browser session and connect via CDP using Playwright","Navigate to the SFMOMA homepage and print the page title","Open and close the search overlay by clicking UI buttons","Click the Membership link and navigate to the membership page","Extract the heading and intro text from the membership page"],"thumbnail":"/website-assets/templates/thumbnails/quickstart-playwright-template-thumbnail.webp","videoPreview":null,"category":["Web Automation"],"commands":["npx create-browser-app --template quickstart-playwright","uvx create-browser-app --template quickstart-playwright"]},{"slug":"puppeteer","sourcePath":"puppeteer/quickstart-puppeteer","coverType":"cover10","source":"Quickstart","playgroundRunnable":false,"title":"Quickstart: Puppeteer","shortDescription":"Run Puppeteer against a cloud browser. No AI, no infrastructure, no local browser required.","metaTitle":"Quickstart: Puppeteer + Browserbase","metaDescription":"Run Puppeteer against a Browserbase cloud browser. One script, one API key. Navigate pages, click elements, and extract text with standard Puppeteer patterns.","descriptionTitle":"Get started with Puppeteer and Browserbase","description":"Connect [Puppeteer](https://pptr.dev) to a cloud browser on [Browserbase](https://docs.browserbase.com/introduction/puppeteer) and automate anything. No local Chrome install, no infrastructure to manage, no headless quirks. Open a WebSocket connection and use the same Puppeteer API you already know to navigate pages, interact with elements, and extract data. Perfect for scraping, testing, and workflow automation at scale.","tags":["TypeScript","Puppeteer"],"steps":["Spin up a Browserbase cloud session and connect Puppeteer over WebSocket","Navigate to any page and verify it loaded successfully","Interact with on-page elements using standard Puppeteer selectors and clicks","Move between pages and confirm each navigation","Extract the content you need, whether that's headings, copy, or structured data"],"thumbnail":"/website-assets/templates/thumbnails/quickstart-puppeteer-template-thumbnail.webp","videoPreview":null,"category":["Web Automation"],"commands":["npx create-browser-app --template quickstart-puppeteer"]},{"slug":"selenium","sourcePath":"selenium/quickstart-selenium","coverType":"cover10","source":"Quickstart","playgroundRunnable":false,"title":"Quickstart: Selenium","shortDescription":"Run Selenium WebDriver against a cloud browser. No AI, no infrastructure, no local browser required.","metaTitle":"Quickstart: Selenium + Browserbase","metaDescription":"Run Selenium WebDriver against a Browserbase cloud browser. One script, one API key. Navigate pages, click elements, and extract text with standard Selenium patterns.","descriptionTitle":"Get started with Selenium and Browserbase","description":"Run [Selenium WebDriver](https://www.selenium.dev/documentation/webdriver/) against a cloud browser powered by [Browserbase](https://docs.browserbase.com/introduction/selenium). No AI, no infrastructure, no local browser required. Create a session, connect with `ClientConfig` for auth, and use standard Selenium patterns: navigation, element clicks, `WebDriverWait` conditions, and text extraction. One script, one API key, cloud browser ready.","tags":["TypeScript","Python","Selenium"],"steps":["Create a Browserbase session and connect via Selenium WebDriver with custom auth headers","Navigate to a target site and verify the URL and page title","Click interactive elements and wait for conditions with WebDriverWait","Navigate between pages using link clicks and URL assertions","Extract headings and page copy from the final destination"],"thumbnail":"/website-assets/templates/thumbnails/quickstart-selenium-template-thumbnail.webp","videoPreview":null,"category":["Web Automation"],"commands":["npx create-browser-app --template quickstart-selenium","uvx create-browser-app --template quickstart-selenium"]}]}