Skip to content

Switch to pure cdp extraction layer #2400

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

gregpr07
Copy link
Member

@gregpr07 gregpr07 commented Jul 11, 2025

Summary by cubic

Replaced the old DOM extraction and processing layer with a new system based entirely on Chrome DevTools Protocol (CDP), removing legacy code and adding new serializers and snapshot processing for more accurate and efficient DOM state extraction.

  • Refactors
    • Removed all legacy DOM extraction modules and playground scripts.
    • Added new modules for enhanced CDP-based DOM snapshot parsing and serialization.
    • Updated all references and tests to use the new CDP-based DOM tree and selector map types.

Copy link

delve-auditor bot commented Jul 11, 2025

No security or compliance issues detected. Reviewed everything up to 66a52ab.

Security Overview
  • 🔎 Scanned files: 29 changed file(s)
Detected Code Changes

The diff is too large to display a summary of code changes.

Reply to this PR with @delve-auditor followed by a description of what change you want and we'll auto-submit a change to this PR to implement it.

@gregpr07
Copy link
Member Author

gregpr07 commented Jul 11, 2025

Still yet to fix:

  • cross origin iframes
  • tab conversion from Playwright (currently really broken)
  • fix tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant