browser_drop
Drop files or MIME-typed data onto webpage elements by providing file paths or custom data with MIME types. Simulates drag-and-drop from outside the page for automated testing.
Instructions
Drop files or MIME-typed data onto an element, as if dragged from outside the page. At least one of "paths" or "data" must be provided.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| element | No | Human-readable element description used to obtain permission to interact with the element | |
| target | Yes | Exact target element reference from the page snapshot, or a unique element selector | |
| paths | No | Absolute paths to files to drop onto the element. | |
| data | No | Data to drop, as a map of MIME type to string value (e.g. {"text/plain": "hello", "text/uri-list": "https://example.com"}). |