upload_file
Uploads a file to the current webpage by triggering the file input element, using the specified file path. Returns upload result or error.
Instructions
点击当网页上的 元素触发上传文件的操作,上传file_path文件到当前网页
Args:
file_path (str): 要上传的文件路径
Returns: str: 上传结果信息,如果元素不存在则返回错误信息
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |