Skip to content

Commit 744dd53

Browse files
committed
Refactor max_iframe_depth field formatting in BrowserProfile class for improved readability.
1 parent 87ee301 commit 744dd53

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

browser_use/browser/profile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,8 @@ class BrowserProfile(BrowserConnectArgs, BrowserLaunchPersistentContextArgs, Bro
594594
default=100,
595595
description='Maximum number of iframe documents to process to prevent crashes.',
596596
)
597-
max_iframe_depth: int = Field(ge=0,
597+
max_iframe_depth: int = Field(
598+
ge=0,
598599
default=5,
599600
description='Maximum depth for cross-origin iframe recursion (default: 5 levels deep).',
600601
)

0 commit comments

Comments
 (0)