Skip to main content

browser_utils

SimpleTextBrowser

class SimpleTextBrowser()

(In preview) An extremely simple text-based web browser comparable to Lynx. Suitable for Agentic use.

address

@property
def address() -> str

Return the address of the current page.

viewport

@property
def viewport() -> str

Return the content of the current viewport.

page_content

@property
def page_content() -> str

Return the full contents of the current page.

visit_page

def visit_page(path_or_uri: str) -> str

Update the address, visit the page, and return the content of the viewport.