# Announcing My New Book: Web Automation with Playwright and Python using AI and MCP

> Source: <https://dev.to/kailash_pathak_90a2d81240/announcing-my-new-book-web-automation-with-playwright-and-python-using-ai-and-mcp-5401>
> Published: 2026-05-31 03:55:16+00:00

I'm excited to share that my second book, "Web Automation with Playwright and Python using AI and MCP", is now available on Amazon worldwide.

**📖 Available on Amazon:**

[https://www.amazon.in/dp/9378543170](https://www.amazon.in/dp/9378543170)

Over the last few years, I've had the opportunity to work extensively with Playwright, Python, and modern test automation frameworks. During this journey, one thing became clear: automation is evolving rapidly. We are moving beyond traditional script-based testing into a world where AI-powered agents can assist with planning, generating, executing, and even healing automated tests.

This book was written to help QA engineers, SDETs, developers, and automation enthusiasts understand and adopt these modern testing practices.

**What You'll Learn**

The book covers practical, real-world examples of:

End-to-End Test Automation with Playwright and Python

API Testing

Visual Testing

Accessibility Testing

Page Object Model (POM) Design Pattern

Test Framework Architecture and Best Practices

AI-Powered Test Automation

Playwright MCP (Model Context Protocol)

Intelligent AI Agents for Automation Workflows

In addition to the fundamentals, the book explores how AI and MCP can transform automation from a collection of scripts into intelligent workflows that understand intent, adapt to changes, and assist testers throughout the automation lifecycle.

**Why I Wrote This Book**

As automation engineers, we often spend more time maintaining tests than creating them. UI changes, flaky locators, and frequent application updates can quickly turn a stable suite into a maintenance burden.

With the emergence of AI-powered tooling and Playwright MCP, we now have an opportunity to rethink how automation is built and maintained. My goal was to create a practical guide that bridges traditional automation techniques with the next generation of AI-assisted testing.

**A Thank You to the Testing Community**

This achievement would not have been possible without the support of the testing community. Every discussion, conference session, blog post, meetup, and community interaction has contributed to my learning journey.

I would also like to extend my sincere thanks to 3Pillar for fostering a culture of continuous learning, innovation, and knowledge sharing.

**Available Now**

If you're interested in Playwright, Python, AI-powered testing, or the future of automation engineering, I hope this book will be a valuable resource for your learning journey.

📖 Available on Amazon:

[https://www.amazon.in/dp/9378543170](https://www.amazon.in/dp/9378543170)

Thank you for your continued support. I look forward to hearing your feedback and learning from your experiences with the book.
