orke browser page.viewport

Change or reset the page viewport size.

Command referenceEnglish

When to use it

Change or reset the page viewport size.

Usage

Syntax · [ ] marks optional arguments
orke browser page.viewport [--width <number>] [--height <number>] [--reset <boolean>]

Options

OptionsRequired?Values and description
--widthOptionalThe viewport width.
--heightOptionalThe viewport height.
--resetOptionalIf true, restore the original size. Do not combine this with size options.

Common management command options and reading errors →

Example

Terminal
orke browser page.viewport --page "PAGE_ID" --reset true --json

Replace the example IDs, folders, references, and revision with actual query results. Take element references such as e7 from the latest observation as well.

What to check in the result

Read ok and error together, and check the actual IDs, state, and partial results in data.

Behavior and states to watch for

  • You can specify the target with --page. If the target is ambiguous, choose an ID from tab.list.

Search documentation

The page could not be displayed. Reload ×