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

Function close_all_sessions

scripts/test_persistent_browsers.py:97–104  ·  view source on GitHub ↗

Close all active browser sessions

()

Source from the content-addressed store, hash-verified

95
96
97def close_all_sessions() -> None:
98 """Close all active browser sessions"""
99 try:
100 response = make_request("POST", "/browser_sessions/close")
101 print("\nClosed all browser sessions")
102 print(f"Response: {response.json()}")
103 except Exception as e:
104 print(f"Error closing sessions: {str(e)}")
105
106
107async def direct_list_sessions(organization_id: str) -> None:

Callers 1

mainFunction · 0.85

Calls 2

make_requestFunction · 0.85
jsonMethod · 0.45

Tested by

no test coverage detected