orke browser page.upload

Pass files to an upload button or file input.

Command referenceEnglish

When to use it

Pass files to an upload button or file input.

Usage

Syntax · [ ] marks optional arguments
orke browser page.upload [--element <string>] [--trigger <string>] --files <stringlist>

Options

OptionsRequired?Value and description
--elementOptionalElement reference from the latest snapshot or current run observation.
--triggerOptionalReference to the button, label, or input that opens the file picker.
--filesRequiredPath to an upload file. Repeat the option for multiple files.
Repeat the option for multiple values.

Common management options and errors →

Example

Terminal
orke browser page.upload --page "page_ID" --trigger e12 --files ./report.txt --json

Replace the example IDs, folders, references, and revision with values from actual queries. Element references such as e7 must also come from the latest observation.

What to check in the result

Read both ok and error, and check the actual IDs, states, and partial results in data.

Behavior and states to watch

  • Use --page to specify the target. If the target is ambiguous, select an ID from tab.list.
  • Use either element or trigger. Only files inside the workspace can be passed: up to 20 files, 50 MiB per file, and 200 MiB total.

Search documentation

The page could not be displayed. Reload ×