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

Method _wait_for_ready

scripts/browser_session.py:82–89  ·  view source on GitHub ↗

Wait for NotebookLM page to be ready

(self)

Source from the content-addressed store, hash-verified

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 """

Callers 2

_initializeMethod · 0.95
resetMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected