browser_file_upload
Upload files to specified file input elements on a webpage using Playwright MCP Server, enabling automated interaction with web forms for testing or automation workflows.
Instructions
Upload files to file input elements on the page
Input Schema
Name | Required | Description | Default |
---|---|---|---|
paths | Yes | ||
selector | Yes |
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"
}