Selenium AI Agent: Plan, Generate and Heal Selenium Tests with AI
Let AI test agents plan, write and repair your Selenium tests, and stay in control: you approve every plan, tests must fail for the right reason, and a CI gate proves it. Python, Java and WebdriverIO.
💡 Why this course
Because an AI that writes tests is only useful if you can trust what it wrote.
Selenium AI Agent brings Playwright-style test agents to Selenium: a planner explores your application and writes a test plan, a generator turns the plan into tests it checks live in the browser, and a healer runs and repairs them. It is open source and runs in Claude Code, VS Code, Cursor and JetBrains IDEs.
This course teaches you to use it the way a tester should: you approve every plan before a test is written, you choose how much the AI may change on its own, every test has to prove that it fails when the application is wrong, and a CI gate checks all of it without an LLM.
🛡️ Guardrails first
An agent that can click, write files and change tests needs limits that the AI cannot talk its way past. Selenium AI Agent enforces them in code: no tests from an unapproved plan, Selenium’s rules for AI agents on every test and fix, a heal policy that decides whether the AI may touch an assertion, tests that must prove they can fail, a CI gate without an LLM, files kept inside the project, and an audit log of every decision. Lesson 4 maps them all; every later lesson shows them at work.
🧭 How you learn it
- One practice site. Every lesson works on practiceautomatedtesting.com: a web shop with search, a cart and checkout.
- Real output. Plans, tests and reports in the lessons are produced by the agent, on that site.
- Current version. Written for Selenium AI Agent 3.9.1. Several of its fixes were found while writing this course, and the lessons point them out where it helps.
- Python first, other languages alongside. The main thread uses pytest; the same plan is generated in Java with JUnit and in WebdriverIO, and the lessons show the differences.
👥 Who it is for
Testers who know the basics of UI automation (the Playwright with TypeScript course or Selenium experience) and of working with a coding agent (the Agentic Engineering course).
Course Modules
Course Info
- Level
- intermediate
- Modules
- 6
- Lessons
- 23