DocsDemographics & Contextbrowser_get_datetime

browser_get_datetime

Browser Get Datetime

Get current date and time information including date, time, day of week, and timezone. Reflects the server's local time.

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

Response

Returns a JSON object with the operation result.

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