Remote Desktop Action icon

Remote Desktop Action

Execute or queue actions on a remote desktop

playwright.get_title

AI-generated

Summary

Retrieves the current page title from a Playwright session via the remote desktop API.

Inputs

  • main — Input items to process. The node does not read any specific fields from the input JSON; it passes each item through to the output.

Output shape

Array of objects, same length as input.

When Mode is Run, each output object contains the API response for playwright.get_title, which includes the page title (e.g., { title: 'Example Page' }). When Mode is Build, each output object contains queued‑action metadata: { session_id: string, queued_actions: Array, queued_count: number }. The original input JSON is preserved in the pairedItem field of each output.

Examples

Example 1: Get title immediately

Set Mode to Run and provide a valid Session ID (from a Session node). Connect a preceding node that supplies any input data (or use a Function node to generate a dummy item). After execution, the node’s output JSON will contain the page title under the key returned by the remote desktop API (commonly title).

Example 2: Queue title request for batch execution

Set Mode to Build, supply a Session ID, and optionally provide input items. The node does not call the API; instead it appends { action: 'playwright.get_title', params: {} } to the queued_actions array on each input item and returns the updated queue info. A separate node with Mode Run can later execute the queued batch.

Discussion