---
title: "Playwright: ตั้งค่าสำหรับ Claude, Cursor, Codex · DotsAgent"
description: "ควบคุมเบราว์เซอร์จริงผ่าน accessibility snapshot เพื่อให้ agent ไปยังหน้าต่าง ๆ คลิก และกรอกแบบฟอร์มได้ ตั้งค่า Playwright ใน MCP client 13 รายการ"
url: https://dotsagent.io/th/mcp/servers/playwright
---

ระบบอัตโนมัติของเบราว์เซอร์ · Microsoft

# ตั้งค่า Playwright

ควบคุมเบราว์เซอร์จริงผ่าน accessibility snapshot เพื่อให้ agent ไปยังหน้าต่าง ๆ คลิก และกรอกแบบฟอร์มได้

- **ผู้เผยแพร่**: Microsoft อย่างเป็นทางการ
- **เรียกใช้ในเครื่อง**: `npx @playwright/mcp@latest`
- **Transport**: stdio, streamable-http
- **การยืนยันตัวตน**: ไม่มี
- **สิ่งที่เข้าถึงได้**: ควบคุมเซสชันเบราว์เซอร์: คลิก พิมพ์ และส่งข้อมูล
- **ไลเซนส์**: Apache-2.0
- **ซอร์สโค้ด**: [github.com/microsoft/playwright-mcp](https://github.com/microsoft/playwright-mcp)
- **สถานะ**: ใช้งานอยู่

## ติดตั้ง

เซิร์ฟเวอร์นี้ทำงานบนเครื่องของคุณในฐานะโปรเซสลูกของไคลเอนต์ คุณต้องติดตั้ง runtime ที่คำสั่งใช้ เช่น Node.js สำหรับ npx, uv สำหรับ uvx หรือ Docker รวมถึงตัวแปรที่ระบุไว้ในส่วน Environment

### Claude Code

`shell`

```
claude mcp add --scope project playwright -- npx @playwright/mcp@latest
```

### Cursor

`.cursor/mcp.json`

```
{
  "mcpServers": {
    "playwright": {
      "command": "npx",
      "args": [
        "@playwright/mcp@latest"
      ]
    }
  }
}
```

### Codex

`~/.codex/config.toml`

```
[mcp_servers.playwright]
command = "npx"
args = ["@playwright/mcp@latest"]
```

[การตั้งค่าสำหรับไคลเอนต์อื่น →](https://dotsagent.io/th/mcp/config#add=playwright)

## เซิร์ฟเวอร์อื่นในหมวด ระบบอัตโนมัติของเบราว์เซอร์

- [Chrome DevTools](https://dotsagent.io/th/mcp/servers/chrome-devtools): ควบคุม Chrome และเข้าถึงข้อมูลจาก DevTools เช่น คำขอเครือข่าย ข้อความในคอนโซล และ trace ประสิทธิภาพ

## แหล่งที่มา

1. [github.com](https://github.com/microsoft/playwright-mcp)/microsoft/playwright-mcp

แหล่งอ้างอิงอิสระสำหรับผู้สร้าง AI agent ไม่มีส่วนเกี่ยวข้องกับผู้ให้บริการที่กล่าวถึง

© 2026 DotsAgent · ตรวจสอบข้อมูลเมื่อ 1 ตุลาคม 2569
