Skip to main content

Module browser

Module browser 

Source
Expand description

The browser the sessions drive: the port the tools ask through, and the hand-offs that park on the person.

A port, not a dependency. forge-server owns the browser fleet - the CEF hosts, the drivers and the profiles - and implements BrowserHost, so a session’s call reaches a browser without this crate knowing where that browser lives. A workspace with no fleet installed is a test or a view; its browser tools answer NO_BROWSER_HOST.

Re-exports§

use forge_primitives::SessionSlot; 🔒
use forge_primitives::browser::HandOff; 🔒
use forge_primitives::browser::HandOffAnswer; 🔒
use forge_primitives::browser::HandOffEnding; 🔒
use serde_json::Value; 🔒
use tokio::sync::oneshot; 🔒
use crate::workspace::Workspace; 🔒

Structs§

BrowserAttachment
A viewer’s handle on one tab, as the transport keeps it.
LiveSeats
A live-seat snapshot and the generation its capture took.

Constants§

NO_BROWSER_HOST
The error a browser tool answers with when the workspace has no fleet.

Traits§

BrowserHost
The server’s browser fleet, as the workspace calls it.