Playwright CLI
The video demonstrates three browser automation use cases using Playwright CLI connected to Claude Code: automated QA testing and bug fixing for a web app, scraping dentist contact information from the web, and automating interactions on a platform requiring login. The presenter also showcases a fully autonomous community management bot built on these techniques.
Summary
The presenter walks through practical browser automation use cases by connecting Playwright CLI to Claude Code, explaining upfront that he chose Playwright CLI over the Chrome DevTools MCP server primarily because MCP's extensive tool descriptions consume too many tokens.
The first use case involves building a multi-page onboarding form (12 questions) and then having Claude Code autonomously QA it using a headed browser. Without manual intervention, the bot fills in form fields, takes screenshots, identifies bugs (such as the Enter key not advancing past the textarea page and the review page failing to load), fixes them in the source code, and reruns the tests until they pass. The presenter frames this as a transformative capability for software development, where multiple headless browser instances could continuously test, find bugs, and self-correct.
The second use case is web scraping: building a Playwright script to find dentist offices in California and collect their phone numbers. When Google blocked the automation, Claude Code adapted by switching to DuckDuckGo. The presenter stepped away briefly and returned to find five dental office phone numbers already collected, highlighting how the script self-corrects during execution.
The third use case addresses whether browser automations can work in authenticated sessions. Claude Code uses a persistent browser profile linked to the user's existing Chrome data, allowing it to access a Skool community already logged in. The task is to navigate to the 'wins' channel and like posts. Initial attempts resulted in the bot repeatedly toggling likes on and off. After a few guided iterations — including instructions to filter by newest posts and identify liked posts by their yellow thumbs-up icon — the bot successfully liked posts while skipping already-liked ones.
In an extended segment, the presenter reveals a fully operational autonomous agent ('AIS agent') running in his Skool community, posting daily AI news roundups, responding to notifications, and even autonomously making a birthday post. These automations run on a schedule via the Claude Code desktop app in headless mode. The agent continuously builds new scripts as it encounters new UI challenges, such as learning how to vote on polls. The presenter closes by comparing Playwright CLI to other browser automation CLIs, noting he values token efficiency and script-learning performance over speed.
Key Insights
- The presenter chose Playwright CLI over the Chrome DevTools MCP server specifically because the MCP server's large number of tools and their descriptions consume an excessive number of tokens, making it less efficient for browser automation tasks.
- During the Google dentist search, Claude Code autonomously detected that Google was blocking the automation and switched to DuckDuckGo without any instruction from the presenter, successfully collecting five dental office phone numbers.
- The automated QA bot not only identified specific bugs — including the Enter key failing to advance past the textarea and the review page never loading — but also fixed them in the source code and reran tests autonomously until they passed, without the presenter intervening.
- The presenter's autonomous Skool community agent ('AIS agent') independently made a birthday post for him based on information it already knew, without being explicitly instructed to do so, demonstrating emergent agentic behavior beyond its programmed tasks.
- The presenter argues that the key performance metric for browser automation CLIs is not speed but a balance of token efficiency and script-learning ability — specifically how well the tool improves its clicking and navigation accuracy across repeated runs.
Topics
Transcript
[0:00] So, when you give a tool as powerful as Claude code, access to literally control a browser, if you think about it, you can actually automate anything. Whether that's stress testing an app, downloading reports, or even playing a game like you guys saw in my other video. So, today I walk through three use cases that you can use when you connect Playwright CLI to Claude code to control your browser. The first one is having it actually QA a web app and finding bugs and then fixing them. The second one is searching for dentists and finding their contact information. And then the third one, a question that everyone's asking, is can browser use [0:30] actually sessions…
Full transcript available for MurmurCast members
Sign Up to AccessMore from Nate Herk | AI Automation
Fable 5 + Karpathy’s LLM Wiki is Basically Cheating
The video demonstrates how to build a personal LLM-powered knowledge base using Obsidian and Claude, inspired by Andrej Karpathy's approach. By ingesting various data sources (YouTube transcripts, PDFs, URLs) into an interconnected wiki structure, users can create a 'second brain' that helps AI agents understand context and relationships across knowledge domains.
How Claude is Creating a New Generation of Millionaires
Claude, an AI built by Anthropic, is enabling non-technical founders to build million-dollar software companies by automating development work. The transcript outlines why Claude is outpacing competitors, provides real examples like Vulcan, and offers a four-step framework for anyone to start building with Claude today.
How Anthropic Engineers Actually Prompt Fable 5
A guide to effectively prompting Claude Fable 5, covering six key techniques including providing context/intent, using negative prompting, letting the model act once ready, verifying outputs, avoiding reasoning requests, and keeping instructions concise. The speaker emphasizes that Fable 5 is expensive and should only be used 5-15% of the time, with pricing at $10 per million input tokens and $50 per million output tokens.
Stanford's Method Turns Claude Into a PHD Level Research Team
A researcher demonstrates the STORM method from Stanford, which uses five expert perspectives (practitioner, academic, skeptic, economist, historian) to create verified research reports. The method produces 25% more organized articles than competing approaches and is packaged as a reusable Claude skill that generates HTML briefings with peer-reviewed citations.
Is Claude Mythos Coming?
A YouTuber analyzes the brief appearance of 'Claude Mythos' on Anthropic's API, arguing it signals a marketing move rather than an imminent public launch. Despite competitive pressure from OpenAI and IPO timing, the creator believes Mythos capabilities will quietly fold into future Opus models rather than release publicly under that name. Three possible scenarios are outlined ranging from a limited gated release to Mythos remaining permanently restricted to vetted security partners.