Source code to accompany our YouTube video series. Find the script mentioned in a video description, clone this repo, and run it on your own machine.
- Clone the repo:
git clone https://github.com/browserless/video-examples.git - Navigate to the relevant script folder (linked in each video description)
- Follow the
README.mdinside that folder
| Video | Folder | Endpoints |
|---|---|---|
| E2E Testing with Browser Agents | e2e-testing-agents/ |
Browserless MCP |
| Observability Pricing — 10 Browser Agents in Parallel | observability-pricing-agents/ |
/agent/run |
| Handling 2FA with Browserless LiveURL | hybrid-2fa/ |
LiveURL |
| Persisting State — Session Management | persisting-state/ |
Sessions |
| Standard Sessions — Session Management | standard-sessions/ |
Sessions |
| Web Scraping with Browserless | webscraping/ |
/content, /scrape, /smart-scrape, /unblock |
| Solving CAPTCHAs with Puppeteer & Playwright | SolveCaptchaPuppeteerPlaywright/ |
/unblock (solveCaptchas) |
| Crawl, Search & Map with Browserless | crawl-search-map/ |
/crawl, /search, /map |
| Amazon Bot Detection & Scraping at Scale | amazon-scraper/ |
/stealth |
| News Scraper — daily briefing with Claude Scheduler | news-scraper/ |
/chromium/stealth |
| OS Emulation — one param for a full device identity | os-emulation/ |
/chromium/bql, /chromium/stealth |
| Give the OpenAI and Claude Agent SDKs a Real Browser | agent-sdks-real-browser/ |
Browserless MCP |
- Node.js 26.x is recommended for development.
.nvmrcselects the floating major; runnvm install && nvm usefrom the repository root before entering an example folder. Node 22.x and 24.x remain compatibility targets for customers running these examples in their own environments. Individual examples retain their existing minimum versions rather than imposing a breaking runtime change. Official Linux Node 26 binaries requirelibatomic(Debian/Ubuntu:libatomic1). - Python 3 3.8+ (for scripts that use Python)
- A Browserless API token
For the macOS news scraper, select the new Node version before rerunning
news-scraper/setup-launchd.sh: its LaunchAgent records the absolute Node path.