Skip to main content
Glama

Playwright MCP

by nzjami
Apache 2.0
299,985
  • Apple
  • Linux

browser_handle_dialog

Accept or dismiss browser dialogs during web automation to control user interactions and manage prompts programmatically using structured accessibility snapshots.

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/nzjami/mcpPlaywright'

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