Better Playwright MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| createPageC | 创建新的浏览器页面 |
| activatePageC | 激活指定的页面 |
| closePageC | 关闭指定的页面 |
| listPagesB | 列出所有管理的页面(包含标题和URL) |
| closeAllPagesB | 关闭所有管理的页面 |
| listPagesWithoutIdB | 列出所有未被管理的页面 |
| closePagesWithoutIdB | 关闭所有未被管理的页面 |
| closePageByIndexC | 通过索引关闭页面 |
| browserClickC | 点击页面元素 |
| browserTypeC | 在页面元素中输入文本 |
| browserHoverC | 悬停在页面元素上 |
| browserSelectOptionC | 在下拉框中选择选项 |
| browserPressKeyC | 按键盘按键 |
| browserFileUploadC | 上传文件到指定元素 |
| browserHandleDialogC | 处理浏览器对话框 |
| browserNavigateC | 导航到指定URL |
| browserNavigateBackC | 返回到上一页 |
| browserNavigateForwardC | 前进到下一页 |
| scrollToBottomC | 滚动到页面或元素底部 |
| scrollToTopB | 滚动到页面或元素顶部 |
| waitForTimeoutC | 等待指定毫秒数 |
| waitForSelectorC | 等待指定选择器的元素出现 |
| getElementHTMLC | 通过xp引用获取元素的outerHTML结构,用于调试选择器 |
| getScreenshotB | 获取页面截图并保存到临时目录,返回文件路径 |
| getPDFSnapshotC | 获取页面的PDF快照 |
| getPageSnapshotC | 获取页面的语义化简化快照,返回清晰的缩进结构 |
| downloadImageC | 下载图片到本地临时目录,返回本地文件路径 |
| captureSnapshotB | 捕获网页的完整快照,支持滚动、等待和自动修剪功能 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/livoras/better-playwright-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server