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

Function close_session

scripts/test_persistent_browsers.py:145–152  ·  view source on GitHub ↗

Close a specific browser session

(session_id: str)

Source from the content-addressed store, hash-verified

143
144
145def close_session(session_id: str) -> None:
146 """Close a specific browser session"""
147 try:
148 response = make_request("POST", f"/browser_sessions/{session_id}/close")
149 print("\nClosed browser session:")
150 print(f"Response: {response.json()}")
151 except Exception as e:
152 print(f"Error closing session: {str(e)}")
153
154
155def create_task(

Callers 1

mainFunction · 0.85

Calls 2

make_requestFunction · 0.85
jsonMethod · 0.45

Tested by

no test coverage detected