DocsAgent Renderingbrowser_read_node

browser_read_node

Browser Read Node

Read the raw accessible name, value, description, and attributes for one handle, uncompacted. Use after browser_observe to inspect a single element in full. Requires render_mode 'agent' or 'both'.

Usage Example

1234567891011
import asyncio
from owl_browser import OwlBrowser, RemoteConfig
# Async usage
async with OwlBrowser(config) as browser:
context = await browser.create_context()
context_id = context["context_id"]
await browser.read_node(
context_id=context_id
)

Parameters

Required

context_idstringrequired

The unique identifier of the browser context (e.g., 'ctx_000001')

Optional

handlestring

The handle token of the node to read (from a prior browser_observe). Either 'handle' or 'selector' is required.

selectorstring

Alias for 'handle': the same OwlMark handle token that click/type accept. Use either 'handle' or 'selector'.

Response

Returns a JSON object with the operation result.

{
  "success": true,
  "result": <value>
}