Skip to content

Commit f75da6e

Browse files
noisysocksclaude
andauthored
Add playwright-cli config for isolated browsing and origin restrictions (#2417)
Follows the agentic browsing policy: uses isolated mode (fresh profile) and restricts allowed origins to localhost only. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent af22181 commit f75da6e

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.playwright/cli.config.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"browser": {
3+
"isolated": true
4+
},
5+
"network": {
6+
"allowedOrigins": [
7+
"https://localhost:*",
8+
"http://localhost:*",
9+
"https://127.0.0.1:*",
10+
"http://127.0.0.1:*"
11+
]
12+
}
13+
}

0 commit comments

Comments
 (0)