Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

fix removing contenteditable check by accident

Nick Sweetingb68a5882fd56
diff --git a/browser_use/dom/buildDomTree.js b/browser_use/dom/buildDomTree.js
index e86a5bd87..350468a10 100644
--- a/browser_use/dom/buildDomTree.js
+++ b/browser_use/dom/buildDomTree.js
@@ -775,7 +775,8 @@
element.hasAttribute("role") ||
element.hasAttribute("tabindex") ||
element.hasAttribute("aria-") ||
- element.hasAttribute("data-action");
+ element.hasAttribute("data-action") ||
+ element.getAttribute("contenteditable") == "true";
return hasQuickInteractiveAttr;
}