We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7009101 commit dc0c18fCopy full SHA for dc0c18f
browser_use/dom/service.py
@@ -426,7 +426,7 @@ def create_dom_tree_request():
426
self.logger.warning(
427
f'⚠️ Limiting processing of {original_doc_count} iframes on page to only first {self.max_iframes} to prevent crashes!'
428
)
429
- snapshot['documents'] = snapshot['documents'][:self.max_iframes]
+ snapshot['documents'] = snapshot['documents'][: self.max_iframes]
430
431
total_nodes = sum(len(doc.get('nodes', [])) for doc in snapshot['documents'])
432
self.logger.debug(f'🔍 DEBUG: Snapshot contains {len(snapshot["documents"])} frames with {total_nodes} total nodes')
0 commit comments