Skip to content

Commit 655d8ff

Browse files
authored
enable-cross_origin_iframes (#3006)
Auto-generated PR for: enable-cross_origin_iframes <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Enable cross-origin iframe support (OOPIF) by default by setting BrowserProfile.cross_origin_iframes to true. This processes third-party iframes out of the box and improves site coverage. - **Migration** - To restore previous behavior, set cross_origin_iframes=False in BrowserProfile or your config. <!-- End of auto-generated description by cubic. -->
2 parents 46a10e4 + f9426a2 commit 655d8ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

browser_use/browser/profile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ class BrowserProfile(BrowserConnectArgs, BrowserLaunchPersistentContextArgs, Bro
587587
description='Window position to use for the browser x,y from the top left when headless=False.',
588588
)
589589
cross_origin_iframes: bool = Field(
590-
default=False,
590+
default=True,
591591
description='Enable cross-origin iframe support (OOPIF/Out-of-Process iframes). When False, only same-origin frames are processed to avoid complexity and hanging.',
592592
)
593593

0 commit comments

Comments
 (0)