Playwright MCP Server

playwright_custom_user_agent

Configure a custom User Agent in Playwright to simulate different browsers or devices for web testing, scraping, or interaction tasks within the browser environment.

Instructions

Set a custom User Agent for the browser

Input Schema

NameRequiredDescriptionDefault
userAgentYesCustom User Agent for the Playwright browser instance

Input Schema (JSON Schema)

{ "properties": { "userAgent": { "description": "Custom User Agent for the Playwright browser instance", "type": "string" } }, "required": [ "userAgent" ], "type": "object" }
ID: iiafoz7ogl