()
| 45 | }); |
| 46 | |
| 47 | function getPage(): Page { |
| 48 | if (!app?.page) { |
| 49 | throw new Error('Obsidian app not initialized'); |
| 50 | } |
| 51 | return app.page; |
| 52 | } |
| 53 | |
| 54 | // Helper to ensure clean state before each screenshot |
| 55 | async function ensureCleanState(page: Page): Promise<void> { |
no outgoing calls
no test coverage detected