Handling Cookies in Playwright
Handling Cookies in Playwright Handling cookies is one of the most common tasks in Playwright. Here are the most useful operations with examples. Get All Cookies import { test } Read more »
How AI can help in Playwright automation
How AI can help in Playwright automation AI can help Playwright automation far beyond just generating test scripts. The biggest opportunity is to use AI across the entire automation lifecycle: Read more »
Playwright APIs
Playwright APIs One of Playwright’s biggest strengths is that Microsoft has built a very rich API. Instead of relying on third-party libraries, Playwright provides hundreds of built-in methods covering almost Read more »
Playwright with AI Agents
Playwright with AI Agents Playwright with AI Agents is an excellent advanced topic to add to your Playwright tutorial series. It is highly relevant because AI-powered browser automation is becoming Read more »
How AI can debug a failed/flacky Playwright test
AI can be very useful for debugging failed and flaky Playwright tests, especially when combined with Playwright traces, screenshots, videos, console logs, network logs, and test results. How AI can Read more »
Setting Up Playwright with an LLM
Setting Up Playwright with an LLM This chapter explains how to connect a Large Language Model (LLM) such as GPT, Claude, or Gemini with Playwright so that AI can understand Read more »
AI Self-Healing Concepts in Playwright Automation
AI Self-Healing Concepts in Playwright Automation AI self-healing is the ability of a test automation framework to automatically recover from UI changes (such as changed locators, renamed buttons, or moved Read more »
AI-generated tests in Playwright
AI-generated tests in Playwright AI-generated tests in Playwright means using an AI/LLM to analyze an application, requirements, user stories, DOM information, or existing test cases and automatically generate Playwright test Read more »
AI Locators in Playwright
AI Locators in Playwright The idea is to use AI to identify the best locator for an element, rather than manually writing XPath/CSS selectors. For example, given: <button class=”btn-primary” data-testid=”login-btn”> Read more »
SQL Database Testing in Playwright
What does Playwright + SQL mean? Playwright itself is primarily a browser/API automation framework. You can connect your Playwright TypeScript tests to a database using a database driver and Read more »
