Skip to content

[Bug]: browser-use 0.11.9 detaching iframe (ads/widgets/analytics) makes the entire DOM extraction fail #3753

@wang1092791404

Description

@wang1092791404

Is there an existing issue for the same bug?

  • I have searched existing issues and this is not a duplicate.

Bug Description

detaching iframe (ads/widgets/analytics) makes the entire DOM extraction fail. Since virtually every real page has such iframes,
this matches the "fails on every page" symptom.
- browser-use#3557 / PR#3923 — extract_clean_markdown returns partial/empty content.
- Reports of DOMWatchdog exceeding 30s and timing out.

  (Note: the exact exception we observe is TimeoutError; #4778 surfaces as a frame-not-found RuntimeError. Same class of            
  DOM-extraction fragility, possibly the same root, but I can't confirm it's identical.)                                            
                                                                                                                                    
  Request                                                                                                                           
                                                                                                                                    
  browser-use 0.11.9 predates these fixes, and upstream is now at 0.13.2. Please either:                                            
  1. Bump the pinned browser-use (≥0.13.x) so these DOM-extraction fixes are picked up, and/or                                      
  2. Make _get_content resilient — pass an explicit timeout to extract_clean_markdown and degrade gracefully, and surface a         
  clearer error than a bare TimeoutError.            

Expected Behavior

No response

Actual Behavior

No response

Steps to Reproduce

No response

Installation Method

dockerfile

If you selected "Other", please specify

No response

SDK Version

1.23.0

Version Confirmation

  • I have confirmed this bug exists on the LATEST version of OpenHands SDK

Python Version

No response

Model Name (if applicable)

deepseek v4 flash

Operating System

Linux

Logs and Error Messages

No response

Minimal Code Sample

No response

Screenshots and Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions