Skip to main content

SimpleTextBrowser

(In preview) An extremely simple text-based web browser comparable to Lynx. Suitable for Agentic use.
Initialize the browser with the given parameters.
Parameters:

Instance Attributes

address


Return the address of the current page.

page_content


Return the full contents of the current page.

viewport


Return the content of the current viewport.

Instance Methods

page_down

Move the viewport down by one page.

page_up

Move the viewport up by one page.

set_address

Set the address of the current page.
Parameters:

visit_page

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