Playwright MCP Captures a Six-Screen Agent Workflow
In a hands-on test, an author used DSH with DeepSeek-V4.1-Flash High to drive the local six-screen agent demo Vela through Playwright MCP. The agent set a 390×844 viewport, completed the workflow, captured all six screens, and assembled the images into an iPhone-style flow diagram. The run took 4 minutes 43 seconds, 95 steps, 101 tool calls and 4 million tokens; 55 calls involved opening pages, clicking and taking screenshots. The report also notes restrictions on screenshot directories, occasional selector failures, and the risk of real data appearing in captured pages. The author said the click path might be reused for regression testing, but did not separately test that use case.
The test demonstrates a practical way to turn a live application workflow into a linked set of interface screenshots. It also documents practical constraints involving screenshot locations, selector reliability and the handling of potentially sensitive page data.
做高保真流程效果图,以前得自己把每一步截下来,套进手机壳,再拼成一页。界面改一个按钮,又得从头来一遍。
这是 MCP 实测系列的第 3 篇,每篇挑一个 MCP,在真实项目里跑给你看。
MCP 是让 AI 调用外部工具的统一接口。接上一个 MCP 服务器,AI 就能自己开浏览器、查文档、读数据库。这一篇接的是 Playwright:让它自己打开界面、点完流程、把截图做成效果图。
Playwright 是什么
Playwright MCP 是 Microsoft 做的浏览器工具。Agent 可以自己打开页面、把视口设成手机大小、点击、截图。和第 1 篇的 Chrome DevTools 不同:那个偏「看」,用来查控制台和网络请求;这个偏「做」,把一条用户路径走完,把当时的界面留下来。
我准备了一个个人智能体演示应用 Vela,跑在本地:欢迎页、给 Agent 起名和选职责、连接日历和邮箱、把任务交出去、看办理进度、拿到简报和复查日程,一共 6 屏。工作区里也有源码。模型用 DeepSeek-V4.1-Flash High,权限是「工作区内修改」。每个实战都新开对话。
#Playwright MCP#Microsoft#DeepSeek Harness#DeepSeek-V4.1-Flash High#Vela#dsh-market-pro