MCPcopy
hub / github.com/PleasePrompto/notebooklm-skill / close

Method close

scripts/browser_session.py:223–233  ·  view source on GitHub ↗

Close this session and clean up resources

(self)

Source from the content-addressed store, hash-verified

221 return previous_count
222
223 def close(self):
224 """Close this session and clean up resources"""
225 print(f"🛑 Closing session {self.id}...")
226
227 if self.page:
228 try:
229 self.page.close()
230 except Exception as e:
231 print(f" ⚠️ Error closing page: {e}")
232
233 print(f"✅ Session {self.id} closed")
234
235 def get_info(self) -> Dict[str, Any]:
236 """Get information about this session"""

Callers 4

_initializeMethod · 0.80
setup_authMethod · 0.80
validate_authMethod · 0.80
ask_notebooklmFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected