Wait for NotebookLM page to be ready
(self)
| 80 | raise |
| 81 | |
| 82 | def _wait_for_ready(self): |
| 83 | """Wait for NotebookLM page to be ready""" |
| 84 | try: |
| 85 | # Wait for chat input |
| 86 | self.page.wait_for_selector("textarea.query-box-input", timeout=10000, state="visible") |
| 87 | except Exception: |
| 88 | # Try alternative selector |
| 89 | self.page.wait_for_selector('textarea[aria-label="Feld für Anfragen"]', timeout=5000, state="visible") |
| 90 | |
| 91 | def ask(self, question: str) -> Dict[str, Any]: |
| 92 | """ |
no outgoing calls
no test coverage detected