Skip to content

Bedrock Agentcore  >  Structures  >  BrowserSessionStream

BrowserSessionStream

Structure Class

BrowserSessionStream dataclass

The collection of streams associated with a browser session in Amazon Bedrock AgentCore. These streams provide different ways to interact with and observe the browser session, including programmatic control and visual representation of the browser content.

Attributes

automation_stream instance-attribute
automation_stream: AutomationStream

The stream that enables programmatic control of the browser. This stream allows agents to perform actions such as navigating to URLs, clicking elements, and filling forms.

live_view_stream class-attribute instance-attribute
live_view_stream: LiveViewStream | None = None

The stream that provides a visual representation of the browser content. This stream allows agents to observe the current state of the browser, including rendered web pages and visual elements.