Upload one or more files to a file input. Pass a selector for direct Playwright behavior, a prompt for AI-powered file input detection, or both. Python only.Documentation Index
Fetch the complete documentation index at: https://skyvern.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
| Parameter | Type | Required | Description |
|---|---|---|---|
selector | str | No | CSS or XPath selector for the file input. |
files | str | list[str] | No | File path or list of file paths to upload. |
prompt | str | No | Natural-language description of the file input to target. |
ai | str | No | Controls AI behavior. Default "fallback" tries the selector first, then AI. |
str - the resolved selector used.
