DocsContext Managementbrowser_list_contexts

browser_list_contexts

Browser List Contexts

List all currently active browser contexts with their IDs, creation time, current URL, and state. Useful for managing multiple browser sessions and checking which contexts are still open.

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.list_contexts(
)

Response

Returns a JSON object with the operation result.

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