Skip to main content
Glama

Cloudflare Playwright MCP

Official
by cloudflare

browser_handle_dialog

Handle browser dialogs by accepting or inputting text, enabling automated interaction with prompts, alerts, or confirmations during web testing with Playwright and Cloudflare integration.

Instructions

Handle a dialog

Input Schema

NameRequiredDescriptionDefault
acceptYesWhether to accept the dialog.
promptTextNoThe text of the prompt in case of a prompt dialog.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "accept": { "description": "Whether to accept the dialog.", "type": "boolean" }, "promptText": { "description": "The text of the prompt in case of a prompt dialog.", "type": "string" } }, "required": [ "accept" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cloudflare/playwright-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server