orke browser page.screenshot

Get an image of the current page.

Command referenceEnglish

When to use it

Get an image of the current page.

Usage

Syntax · [ ] marks optional arguments
orke browser page.screenshot [--format <png|jpeg>] [--out <file>]

Options

OptionsRequired?Value and description
--formatOptionalpng | jpeg
Image output format.
--outOptionalFile to write the image to, relative to the current folder and replaced if it exists. The reply carries the path instead of the image.

Common management options and errors →

Example

Terminal
orke browser page.screenshot --page "page_ID"

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.

Search documentation

The page could not be displayed. Reload ×