browserFileUpload
Upload files to a specified input element using page ID and XPath reference, with configurable wait time for snapshots in browser automation.
Instructions
上传文件到指定元素
Input Schema
Name | Required | Description | Default |
---|---|---|---|
pageId | Yes | 页面ID | |
paths | Yes | 要上传的文件路径数组 | |
ref | Yes | 文件输入元素的xp引用值 | |
waitForTimeout | No | 操作后等待获取快照的延迟时间(毫秒,默认2000) |