Playwright MCP Server_playwright_custom_user_agent
Set a custom User Agent for the Playwright browser to simulate specific browser environments or devices.
Instructions
Set a custom User Agent for the browser
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"userAgent": "<userAgent>"
},
"name": "Playwright MCP Server_playwright_custom_user_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userAgent | Yes | Custom User Agent for the Playwright browser instance |