browser_upload_file
Upload local files by targeting a page's file input or upload button via ref, selector, or visible text for browser automation.
Instructions
Upload local file(s) through a file input or an upload button (ref/selector/text).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Element ref from browser_snapshot, e.g. "e12" | |
| path | No | ||
| text | No | Visible text to match (alternative to ref) | |
| paths | No | ||
| selector | No | CSS or Playwright selector (alternative to ref) |