Represents an active browser session.
A session holds the connection state to a browser instance and tracks the adapter being used for communication.
Summary
Types
Functions
Creates a new session struct.
Examples
session = Jido.Browser.Session.new!(
id: "sess_abc123",
adapter: Jido.Browser.Adapters.Vibium,
connection: pid
)
Like new/1 but raises on validation errors.
@spec schema() :: Zoi.schema()
Returns the Zoi schema for this struct.