Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/strands_tools/browser/agent_core_browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ async def create_browser_session(self) -> PlaywrightBrowser:

logger.info(f"started Bedrock AgentCore browser session: {session_id}")

# Store the client so close_platform() can properly terminate the session
self._client_dict[session_id] = session_client

# Get CDP connection details
cdp_url, cdp_headers = session_client.generate_ws_headers()

Expand Down
Loading