Remote Desktop Action icon

Remote Desktop Action

Execute or queue actions on a remote desktop

playwright.get_all_text

AI-generated

Summary

Execute the configured Playwright action to retrieve all matching text on the remote desktop session.

Inputs

  • mode — Run executes immediately, Build queues for batch execution
  • sessionId (required) — Session ID from a Session node
  • selector — CSS selector for elements whose text should be extracted; leave empty to target the whole page

Output shape

an array where each element contains a json field with the extracted text or an error message, and a pairedItem linking to the input index

If mode is 'build' the operation only queues actions; the returned json includes the updated session state. Errors are included in json when continueOnFail is enabled.

Examples

Example 1: Extract visible text from the entire page in a single step

{"mode":"run","sessionId":"={{ $json.session?.id }}","selector":""}

Example 2: Batch‑queue a text extraction for later execution

{"mode":"build","sessionId":"={{ $json.session_id }}","selector":"#content"}

Example 3: Handle missing session gracefully when Continue on Fail is enabled

{"mode":"run","sessionId":"",... "selector":""}

Discussion