Problem
When a click action fails silently (DOM unchanged, page looks the same), the script blindly continues and eventually crashes or produces wrong results. There is no feedback mechanism to detect "nothing happened".
Evidence
Solution (Implemented)
Self-Healing Loop (click_ref_checked)
- Take screenshot + DOM snapshot BEFORE click
- Execute click via CDP (with Human Entropy)
- Take screenshot + DOM snapshot AFTER click
- Compare DOM diff (addedCount, removedCount)
- Compare screenshots (Visual Verification 2.0 — Base64 length diff proxy)
- If BOTH are zero → trigger JS DispatchEvent fallback automatically
- Re-verify after fallback
Visual Verification 2.0
- Compares Base64 encoded PNG data length before/after
- A real UI change modifies compressed image size by >0.1%
- If diff_ratio < 0.001 → "KEINE visuelle Änderung" → trigger self-healing
Files Changed
real_bridge_prolific.py — click_ref_checked(), visual_verification_2_0(), page_diff()
Acceptance Criteria
Problem
When a click action fails silently (DOM unchanged, page looks the same), the script blindly continues and eventually crashes or produces wrong results. There is no feedback mechanism to detect "nothing happened".
Evidence
Solution (Implemented)
Self-Healing Loop (
click_ref_checked)Visual Verification 2.0
Files Changed
real_bridge_prolific.py—click_ref_checked(),visual_verification_2_0(),page_diff()Acceptance Criteria
/tmp/opensin-bridge-prolific/for every action