Close this session and clean up resources
(self)
| 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""" |
no outgoing calls
no test coverage detected