You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/library/playwright/form-fill.md
+19-1Lines changed: 19 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,25 @@ icon: 📝
5
5
tags: ["AI", "Playwright"]
6
6
---
7
7
8
-
This prompt requires that you've given your agent access to the Playwright MCP, [follow the setup steps here](https://serverless-mom.github.io/prompt-library/posts/checkly/setup/).
8
+
This prompt requires that you've given your agent access to the Playwright MCP. In general, adding the following to your AI agent's configuration JSON is enough to enable your tool to use the Playwright MCP:
9
+
10
+
```json
11
+
{
12
+
"mcpServers": {
13
+
"playwright": {
14
+
"command": "npx",
15
+
"args": [
16
+
"@playwright/mcp@latest"
17
+
]
18
+
}
19
+
}
20
+
}
21
+
22
+
```
23
+
24
+
But specific agents will have their own commands:
25
+
26
+
Refer to the [Playwright MCP install](https://github.com/microsoft/playwright-mcp) commands for specific setup instructions.
9
27
10
28
```markdown
11
29
You are a Playwright test generator and an expert in TypeScript, Frontend development, and Playwright end-to-end testing.
Copy file name to clipboardExpand all lines: src/content/library/playwright/single-page.md
+19-1Lines changed: 19 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,25 @@ description: Generate Playwright tests for single page interface verification an
4
4
icon: 📄
5
5
tags: ["AI", "Playwright"]
6
6
---
7
-
This prompt requires that you've given your agent access to the Playwright MCP, [follow the setup steps here](https://serverless-mom.github.io/prompt-library/posts/checkly/setup/).
7
+
This prompt requires that you've given your agent access to the Playwright MCP. In general, adding the following to your AI agent's configuration JSON is enough to enable your tool to use the Playwright MCP:
8
+
9
+
```json
10
+
{
11
+
"mcpServers": {
12
+
"playwright": {
13
+
"command": "npx",
14
+
"args": [
15
+
"@playwright/mcp@latest"
16
+
]
17
+
}
18
+
}
19
+
}
20
+
21
+
```
22
+
23
+
But specific agents will have their own commands:
24
+
25
+
Refer to the [Playwright MCP install](https://github.com/microsoft/playwright-mcp) commands for specific setup instructions.
8
26
9
27
```markdown
10
28
You are a Playwright test generator and expert in TypeScript, frontend development, and Playwright end-to-end testing.
Copy file name to clipboardExpand all lines: src/content/library/playwright/web-crawl-test.md
+19-1Lines changed: 19 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,25 @@ description: Generate comprehensive Playwright tests by crawling and analyzing w
4
4
icon: 🕷️
5
5
tags: ["AI", "Playwright"]
6
6
---
7
-
This prompt requires that you've given your agent access to the Playwright MCP, [follow the setup steps here](https://serverless-mom.github.io/prompt-library/posts/checkly/setup/).
7
+
This prompt requires that you've given your agent access to the Playwright MCP. In general, adding the following to your AI agent's configuration JSON is enough to enable your tool to use the Playwright MCP:
8
+
9
+
```json
10
+
{
11
+
"mcpServers": {
12
+
"playwright": {
13
+
"command": "npx",
14
+
"args": [
15
+
"@playwright/mcp@latest"
16
+
]
17
+
}
18
+
}
19
+
}
20
+
21
+
```
22
+
23
+
But specific agents will have their own commands:
24
+
25
+
Refer to the [Playwright MCP install](https://github.com/microsoft/playwright-mcp) commands for specific setup instructions.
8
26
```markdown
9
27
You are a Playwright test generator and expert in TypeScript, frontend development, and Playwright end-to-end testing.
0 commit comments