Playwright
A linear, one-concept-per-lesson path through Playwright, from launching your first browser to an end-to-end web research agent. 24 lessons · 3 tiers.
Prerequisites: Completion of LangChain & Agent Building through Lessons 13-16 (@tool, bind_tools), or already comfortable with those. Playwright lessons build ordinary Python functions first, browser-only, no LLM involved, then wire the same functions in as agent tools later in the course, exactly like any other @tool.
Lessons use Google's Gemini free tier (gemini-3.5-flash-lite), the same model as the other courses, but only from Lesson 16 onward, where an LLM is first wired to a Playwright tool; Lessons 1-15 are pure browser automation, no API key needed. Setup also needs the Playwright browser binaries themselves, a one-time `uv run playwright install chromium` download separate from the Python package.
Built on Playwright, the browser automation library this course teaches.

Beginner
Launching a browser, locators, clicking, typing, reading a page back.
Intermediate
Real pages, real forms, structured data, and a first tool wiring into LangChain.
- 09Waiting StrategiesGitHub
- 10Filling and Submitting FormsGitHub
- 11Multi-Page NavigationGitHub
- 12Screenshots and PDFsGitHub
- 13Extracting Structured DataGitHub
- 14Handling Dialogs and DownloadsGitHub
- 15Wrapping Playwright as a ToolGitHub
- 16Wiring It Into LangChainGitHub
- 17Checkpoint: An Agent That Searches a Site and Reports BackGitHub
Advanced
Auth, network interception, parallelism, resilience, and safety with untrusted pages.