How to Use AI with Playwright for UI & API Testing
summary
Demos show specific, actionable results: AI generates Playwright tests from Trello OpenAPI and produces Page Objects from pasted HTML, Playwright codegen plus prompting refactors into working TypeScript tests, and Playwright MCP drives the browser action‑by‑action from an LLM context window. Report Portal demo shows ML assigning failure labels at scale (examples cite 500,000s of tests) so failures get auto‑classified, and integrations with ChatGPT Cursor Claude and Copilot provide code review suggestions and generator output that often works but needs human refinement.
AI-written summary · about
chapters (15)
- 0:00AI with Playwright intro
- 1:48Playwright basics
- 3:19AI for test automation
- 5:15API tests from Swagger
- 7:24AI code review tools
- 9:14Report Portal AI analysis
- 14:01Playwright MCP LLM
- 17:14Cursor IDE AI dev
- 19:02Page objects with AI
- 20:52Codegen AI refinement
- 23:25Migrating tests with AI
- 24:51Mabel’s AI assertions
- 25:55AI risks in testing
- 28:53Balancing AI and skills
- 30:25Resources and closing
related talks
01h 31mAdvanced Playwright with AI
43mExploratory Testing with AI
25mAI-Powered Debugging & Browser Automation with Playwright MCP
48mSupercharged Testing: AI-Powered Workflows with Playwright + MCP
45mAI-Powered Debugging & Browser Automation with Playwright MCP
33mShray Sharma: Leveraging AI for Self-Healing Tests: Current Capabilities and Future Prospects
35mState of end-to-end testing for modern web applications
14mAdvanced Playwright Techniques for flawless testing
