MCPcopy
hub / github.com/Skyvern-AI/skyvern / get_session

Function get_session

scripts/test_persistent_browsers.py:86–94  ·  view source on GitHub ↗

Get details of a specific browser session

(session_id: str)

Source from the content-addressed store, hash-verified

84
85
86def get_session(session_id: str) -> None:
87 """Get details of a specific browser session"""
88 try:
89 response = make_request("GET", f"/browser_sessions/{session_id}")
90 session = response.json()
91 print("\nBrowser session details:")
92 print(json.dumps(session, indent=2))
93 except Exception as e:
94 print(f"Error getting session: {str(e)}")
95
96
97def close_all_sessions() -> None:

Callers 1

mainFunction · 0.85

Calls 3

make_requestFunction · 0.85
dumpsMethod · 0.80
jsonMethod · 0.45

Tested by

no test coverage detected