playwright_upload_file
Use this tool to upload a file to a web page's file input element by providing the CSS selector and the file's absolute path. Simplifies browser automation tasks in 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 |