689 B
689 B
Task 3C — Render All Turns Before Capture
Goal: Before extraction, automatically scroll through the ChatGPT conversation so virtualized turns are rendered in the DOM.
Approach:
- Find all section[data-testid^="conversation-turn-"][data-turn].
- Scroll each turn into view in ascending order.
- Wait briefly after each scroll for React to render content.
- After reaching the bottom, run the turn-section extractor.
- If any turns are still empty, mark them not_rendered.
Requirements:
- Do not click buttons.
- Do not submit messages.
- Do not alter conversation content.
- Use scrollIntoView only.
- Add timeout protection.
- Show status: "Preparing conversation for capture..."