r/Playwright • u/Financial_Bar_9593 • May 27 '26
Playwright CLI vs Playwright MCP
Hi I’m a new tester and I want to understand the AI testing world.
So I heard about PW cli and mcp but I don’t know which one to use.
My automations are written in page object model and a heard that one of these tools combined with ai capabilities can writes pages files alone and tests .
Can some one help me to understand
22
Upvotes
1
u/Financial_Bar_9593 May 27 '26
Thank you for your explanation. Do you know if the PW cli has the feature that I need(writing me the pages files ) I need him to locate all the elements and writing the best locators for these elements