Actions46
- app.launch
- app.close
- app.list_running
- app.list_available
- playwright.connect
- playwright.disconnect
- playwright.goto
- playwright.go_back
- playwright.go_forward
- playwright.reload
- playwright.click
- playwright.fill
- playwright.type
- playwright.press_key
- playwright.hover
- playwright.select_option
- playwright.check
- playwright.uncheck
- playwright.scroll
- playwright.snapshot
- playwright.get_content
- playwright.get_text
- playwright.get_attribute
- playwright.get_url
- playwright.get_title
- playwright.locator_count
- playwright.get_all_text
- playwright.get_all_attributes
- playwright.evaluate
- playwright.wait_for_selector
- playwright.wait_for_load
- playwright.wait_for_timeout
- playwright.wait_for_url
- playwright.close
- screen.start_recording
- screen.stop_recording
- screen.screenshot
- screen.list_recordings
- screen.list_screenshots
- screen.download_recording
- screen.download_screenshot
- system.info
- system.stats
- system.wait
- system.os
- system.display
playwright.get_attribute
AI-generatedSummary
Retrieve an element's attribute via Playwright in a remote desktop session
Inputs
- sessionId (required) — Session ID from a Session node; default expression: {{$json.session?.id || $json.session_id}}
- selector — CSS selector for the target element
- attribute — Attribute name to read (e.g., href, title, aria-label)
- timeout — Maximum wait time in milliseconds (default: 30000)
- mode — Execution mode: run (immediate) or build (queue for batch)
Output shape
When mode='run': the JSON response from the remote desktop API containing the attribute value. When mode='build': the original input JSON augmented with a queued_actions array that includes this action.
The exact structure of the API response depends on the remote desktop service; it will contain the result of the Playwright get_attribute call.
Examples
Example 1: Get the href attribute of a link
Session ID from prior node, selector='a.button', attribute='href', mode='run'