Skip to main content

Module engine

Module engine 

Source
Expand description

Browser engine abstraction layer.

Defines the core traits (BrowserEngine, BrowserTab) and shared types that all browser tools depend on. These traits are always compiled (no feature gates) so tools can use them regardless of the backend.

Actual backend implementations (e.g. oxibrowser-core) are behind #[cfg(feature = "native-browser")] in oxibrowser_backend.rs.

Structs§

ElementInfo
A single element matched by a CSS selector.
LinkInfo
A single link on a page.
Observation
The page’s interactive surface, returned by BrowserTab::observe.
ObservedElement
One interactive element captured by BrowserTab::observe.
PageContent
Shared page content returned by goto and content methods.
TabCallbackRegistry
Per-tab_id callback registry for browser event routing.

Enums§

BrowseProgress
Structured progress event for browser tool execution.
BrowseWaitCondition
Structured wait condition for BrowserTab::wait_for_condition.
BrowserError
Errors that can occur during browser operations.

Traits§

BrowserEngine
Factory for opening and managing browser tabs.
BrowserTab
Operations available on a single browser tab.

Type Aliases§

BrowseProgressCallback
Callback type for structured browse progress events.