Skip to main content
Set files on an <input type=file> by ref. Paths must be readable by the browser machine.
The tool names stay the same across browsers. See browser selection and Firefox and Zen exceptions before choosing an operation.

Parameters

integer
Target tab id from browser_tabs, which lists tabs across all windows. Defaults to the agent’s most recently opened usable tab, or the only usable tab. Otherwise select a listed tabId.
string
required
Element ref from browser_snapshot, e.g. “e12”
string[]
required
 

Example