Anchor Browser icon

Anchor Browser

Interact with Anchor Browser API for browser automation and control

OS Level Control → Set Clipboard

AI-generated

Summary

Set the system clipboard content for a specified Anchor Browser session by sending the provided text to the clipboard.

Inputs

  • Base URL — The base URL for the Anchor Browser API; defaults to 'https://api.anchorbrowser.io'.
  • Session ID (required) — The ID of the browser session to target for the clipboard change.
  • Clipboard Configuration > Text (required) — The plaintext string to set in the system clipboard of the browser session.

Output shape

a JSON object representing the API response which typically confirms the clipboard has been set

If the text is missing or the Session ID is not provided, the operation will fail with a descriptive error. The output includes any response message from the Anchor Browser API about the clipboard update.

Examples

Example 1: Set clipboard text in an existing browser session

Provide the sessionId of the target browser session and the text to set on the clipboard in 'Clipboard Configuration > Text'.

Discussion