Remote Desktop Action icon

Remote Desktop Action

Execute or queue actions on a remote desktop

playwright.get_text

AI-generated

Summary

Run extracts visible text using a CSS selector, while Build queues the action for later batch execution.

Inputs

  • mode — Run executes immediately, Build queues for batch execution
  • sessionId (required) — Session ID from a Session node
  • selector — CSS selector to target elements on the page
  • timeout — Maximum wait time in milliseconds for the selector to be found

Output shape

An array of result objects containing extracted text or error information

In 'run' mode the extracted text is returned directly; in 'build' mode actions are queued and returned as part of the session's queued_actions. Errors propagate as messages.

Examples

Example 1: Extract text from a product detail page after login

mode=run, sessionId from Session node, selector set to appropriate CSS selector

Example 2: Queue multiple extraction actions for later processing

mode=build, sessionId from Session node, multiple selector values added to queued_actions

Discussion