Remote Desktop Action icon

Remote Desktop Action

Execute or queue actions on a remote desktop

playwright.get_content

AI-generated

Summary

Execute or queue a Playwright action on a remote desktop session to retrieve content

Inputs

  • mode — Run executes immediately, Build queues for batch execution
  • sessionId (required) — Session ID from a Session node
  • selector — CSS selector for element to extract content
  • outer_html — Whether to return outer HTML (boolean)

Output shape

array of execution result objects

Each element includes the API response JSON and metadata linking to the input index; for 'run' mode the response reflects the executed action, for 'build' it updates queued_actions list

Examples

Example 1: Immediately fetch the outer HTML of a page element

mode=run, sessionId=12345, selector='.my-element', outer_html=true

Example 2: Queue a screenshot action for later batch execution

mode=build, sessionId=12345, operation='takeScreenshot'

Discussion