Skip to main content
Glama

Playwright MCP Server

by b3nw

browser_file_upload

Upload files to specified input elements on web pages using selectors and file paths, enabling automated file submissions in web automation workflows.

Instructions

Upload files to file input elements on the page

Input Schema

NameRequiredDescriptionDefault
pathsYes
selectorYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "paths": { "items": { "type": "string" }, "minItems": 1, "type": "array" }, "selector": { "type": "string" } }, "required": [ "selector", "paths" ], "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/b3nw/playwright-mcp-server'

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