Anchor Browser icon

Anchor Browser

Interact with Anchor Browser API for browser automation and control

OS Level Control → Keyboard Shortcut

AI-generated

Summary

Send a keyboard shortcut command to the active browser session to simulate pressing multiple keys simultaneously for a specified duration.

Inputs

  • Base URL — The base URL of the Anchor Browser API, defaulting to https://api.anchorbrowser.io.
  • Session ID (required) — The ID of the active browser session to which the keyboard shortcut will be sent.
  • Keyboard Shortcut Configuration (required) — Configuration including a comma-separated list of keys to press simultaneously and an optional hold time in milliseconds.

Output shape

a JSON object containing the result of the keyboard shortcut action executed within the specified browser session.

The keys input must be a non-empty comma-separated string of keys; hold time is optional and defaults to 0 ms. Session ID is mandatory. The output typically confirms successful execution or error details upon failure.

Discussion