Remote Desktop Action icon

Remote Desktop Action

Execute or queue actions on a remote desktop

playwright.reload

AI-generated

Summary

Reloads the current page in a remote desktop session using Playwright.

Inputs

  • sessionId (required) — Session ID from a Session node; used to target the remote desktop session.
  • waitUntil — Wait for the page to reach this state before considering the reload complete (e.g., 'load', 'domcontentloaded', 'networkidle'). Defaults to 'load'.
  • mode — Whether to execute the action immediately or queue it for batch execution. Options: 'Run' (execute now) or 'Build' (add to queue). Defaults to 'Run'.

Output shape

object

When mode is 'Run', the node returns the API response from the reload request. When mode is 'Build', it returns an object containing the session ID, the updated list of queued actions, and the total queued count.

Examples

Example 1: Immediate reload

Set mode to Run, provide a valid sessionId, optionally adjust waitUntil.

Example 2: Queued reload

Set mode to Build, provide sessionId and optional waitUntil; connect to a Session node and later use a 'run queued actions' operation.

Discussion