TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Playwright Tools for MCP

181 pointsby alex_hirnerabout 2 months ago

14 comments

mgdevabout 2 months ago
This is so good. I&#x27;ve been using it with Claude Code with great success.<p>I just leave an instruction in CLAUDE.md to validate changes with Playwright. It automatically starts a dev server (wrote a little MCP server to do that), navigates to the page with the changes it just made, and validates that its changes worked. If there is anything unexpected, it self-corrects.<p>It&#x27;s like working with a really great mid-level engineer.<p>What a time to be alive.
评论 #43486677 未加载
评论 #43488324 未加载
lxeabout 2 months ago
It uses ariaSnapshot, which is an accessible representation of the DOM used by screen readers and accessibility validation tools as well as playwright testing.<p>However, even with that, it will quickly exhaust the model context if you navigate to something like Gmail. I just verified this with cursor.<p>I&#x27;ve been playing around with a much better textual representation of the page that&#x27;s much more compact:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;lxe&#x2F;chrome-mcp&#x2F;blob&#x2F;master&#x2F;src&#x2F;runtime-templates&#x2F;ariaInteractiveElements.js" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;lxe&#x2F;chrome-mcp&#x2F;blob&#x2F;master&#x2F;src&#x2F;runtime-te...</a><p>This uses your own chrome session and doesn&#x27;t require a huge context size.<p>I might refactor this to use the aria interface available to the CDP, which I wasn&#x27;t aware of at the time.
评论 #43488378 未加载
atonseabout 2 months ago
I’m going to see if I can use this in combination with our JIRA MCP to read a bug ticket’s “steps to reproduce” to see if it translate those steps to actually reproduce those actions.<p>I don’t understand the hate against MCP. It is truly exciting to see the Cambrian explosion of “connectors” coming out.<p>This is going to be the “App Store” for models in a way that OpenAI’s custom GPTs never was.
评论 #43488806 未加载
rahimnathwaniabout 2 months ago
It seems this new tool from Microsoft is a competitor to <a href="https:&#x2F;&#x2F;github.com&#x2F;executeautomation&#x2F;mcp-playwright" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;executeautomation&#x2F;mcp-playwright</a><p>The Microsoft one seems simpler, whereas the other one has more tools.
评论 #43495558 未加载
jauntywundrkindabout 2 months ago
Submitted acouple times, would love to hear more.<p>Note also, there&#x27;s a Fetch-MCP which is playwright based, supports batch. Would be interesting to compare. <a href="https:&#x2F;&#x2F;github.com&#x2F;jae-jae&#x2F;fetch-mcp" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jae-jae&#x2F;fetch-mcp</a> <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=43419713">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=43419713</a> (64 points, 6 days ago, 14 comments)
adamtaylor_13about 2 months ago
I want an MCP for capybara so LLMs can write my Rails system tests and debug them when they don&#x27;t work.
评论 #43487662 未加载
mettamageabout 2 months ago
I don&#x27;t know playwright, but how is this different than puppeteer?<p>The issue I&#x27;m noticing with puppeteer is that it isn&#x27;t always successful to immediately get the right javascript to complete a simple task such as accepting a cookie consent banner, for example.
评论 #43486784 未加载
upcoming-sesameabout 2 months ago
&quot;code --add-mcp&quot;<p>Vscode comes with a built in MCP client ?
pal9000iabout 2 months ago
Great release! But i&#x27;m wondering why they didn&#x27;t just support the original Playwright APIs instead of the subset of actions.
febedabout 2 months ago
Anyone compare this with BrowserUse ?<p><a href="https:&#x2F;&#x2F;browser-use.com&#x2F;">https:&#x2F;&#x2F;browser-use.com&#x2F;</a>
评论 #43490463 未加载
the_arunabout 2 months ago
Is this for test automation? or for using Playwright as &quot;Operator&quot; in an Agent?
评论 #43490555 未加载
评论 #43486655 未加载
评论 #43487769 未加载
cendyneabout 2 months ago
Interestingly it transforms the page into markdown for navigation.
nikcubabout 2 months ago
and this is how I find out Cursor has a limit of 40 tools.
评论 #43492431 未加载
b0dhimindabout 2 months ago
How can we use this with Cursor agent?