orke browser page.evaluate

Run JavaScript with an authorized development capability.

Command referenceEnglish

When to use it

Run JavaScript with an authorized development capability.

Usage

Syntax · [ ] marks optional arguments
orke browser page.evaluate --expression <string>

Options

OptionsRequired?Values and description
--expressionRequiredThe JavaScript expression for the development capability.

Common management command options and reading errors →

Example

Terminal
orke browser page.evaluate --expression document.title --page "PAGE_ID"

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.
  • This may be rejected in normal use because it requires a development capability. Use snapshot, run, and inspect for ordinary reading and input.

Search documentation

The page could not be displayed. Reload ×