Get details of a specific browser session
(session_id: str)
| 84 | |
| 85 | |
| 86 | def 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 | |
| 97 | def close_all_sessions() -> None: |
no test coverage detected