browserFileUpload
Upload files to specified web elements efficiently using semantic snapshots, reducing HTML token usage by up to 90% in browser automation workflows.
Instructions
上传文件到指定元素
Input Schema
Name | Required | Description | Default |
---|---|---|---|
pageId | Yes | 页面ID | |
paths | Yes | 要上传的文件路径数组 | |
ref | Yes | 文件输入元素的xp引用值 | |
waitForTimeout | No | 操作后等待获取快照的延迟时间(毫秒,默认2000) |