Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Address CDP issues in agent#4231

Open
LarsenCundric wants to merge 1 commit intomainfrom
larsen/address-some-cdp-issues
Open

Address CDP issues in agent#4231
LarsenCundric wants to merge 1 commit intomainfrom
larsen/address-some-cdp-issues

Conversation

@LarsenCundric
Copy link
Collaborator

@LarsenCundric LarsenCundric commented Feb 28, 2026

Summary by cubic

Make CDP handling more robust and reduce noisy errors during navigation. DOM build now requires only snapshot and dom_tree; ax_tree and device_pixel_ratio are optional with safe defaults.

  • Bug Fixes
    • Raise TimeoutError only if snapshot or dom_tree fail; log optional failures as warnings and fall back to empty ax_tree and ratio 1.0.
    • When no lifecycle events are seen after navigation, log a warning with clearer context instead of an error.

Written for commit a4c7ea9. Summary will update on new commits.

@github-actions
Copy link

Agent Task Evaluation Results: 2/2 (100%)

View detailed results
Task Result Reason
amazon_laptop ✅ Pass Skipped - API key not available (fork PR or missing secret)
browser_use_pip ✅ Pass Skipped - API key not available (fork PR or missing secret)

Check the evaluate-tasks job for detailed task execution logs.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

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