playwright_upload_file
Upload a file to a webpage's file input element by specifying its CSS selector and the file's absolute path. Automates file uploads in browser environments using Playwright MCP Server.
Instructions
Upload a file to an input[type='file'] element on the page
Input Schema
Name | Required | Description | Default |
---|---|---|---|
filePath | Yes | Absolute path to the file to upload | |
selector | Yes | CSS selector for the file input element |