Skip to content

Commit 65f51e9

Browse files
didn't make sense to link to Checkly Setup for the PWT prompts. TODO: make a 'pure playwright setup' doc
1 parent 6f83671 commit 65f51e9

File tree

3 files changed

+57
-3
lines changed

3 files changed

+57
-3
lines changed

src/content/library/playwright/form-fill.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,25 @@ icon: 📝
55
tags: ["AI", "Playwright"]
66
---
77

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.
927

1028
```markdown
1129
You are a Playwright test generator and an expert in TypeScript, Frontend development, and Playwright end-to-end testing.

src/content/library/playwright/single-page.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,25 @@ description: Generate Playwright tests for single page interface verification an
44
icon: 📄
55
tags: ["AI", "Playwright"]
66
---
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.
826

927
```markdown
1028
You are a Playwright test generator and expert in TypeScript, frontend development, and Playwright end-to-end testing.

src/content/library/playwright/web-crawl-test.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,25 @@ description: Generate comprehensive Playwright tests by crawling and analyzing w
44
icon: 🕷️
55
tags: ["AI", "Playwright"]
66
---
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.
826
```markdown
927
You are a Playwright test generator and expert in TypeScript, frontend development, and Playwright end-to-end testing.
1028

0 commit comments

Comments
 (0)