Summary
Very large DOM trees are slow/expensive to serialize fully. Add lazy/bounded loading (docs/chromium-plugin.md → Future work).
Scope
- Respect
--depth and add bounded/on-demand expansion (expand a specific subtree by element id — ties into --element and the proposed --query).
- Consider streaming or capped node counts with a clear ""truncated"" marker.
- Update
docs/chromium-plugin.md.
Acceptance criteria
- Large pages return quickly with a bounded tree and an explicit truncation/expansion mechanism.
- Tests for depth/count limiting.
Filed as part of turning README/docs "Future work" into tracked issues. See docs/architecture.md and CONTRIBUTING.md (""Adding a new provider"") for conventions.
Summary
Very large DOM trees are slow/expensive to serialize fully. Add lazy/bounded loading (
docs/chromium-plugin.md→ Future work).Scope
--depthand add bounded/on-demand expansion (expand a specific subtree by element id — ties into--elementand the proposed--query).docs/chromium-plugin.md.Acceptance criteria
Filed as part of turning README/docs "Future work" into tracked issues. See
docs/architecture.mdandCONTRIBUTING.md(""Adding a new provider"") for conventions.