Skip to content

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

fix: set highlight div backgroundColor to transparent

Aaron Young13fbf21a4065
diff --git a/browser_use/dom/buildDomTree.js b/browser_use/dom/buildDomTree.js
index 22481e9fb..5c3dc1b5f 100644
--- a/browser_use/dom/buildDomTree.js
+++ b/browser_use/dom/buildDomTree.js
@@ -212,6 +212,7 @@
container.style.width = "100%";
container.style.height = "100%";
container.style.zIndex = "2147483647";
+ container.style.backgroundColor = 'transparent';
document.body.appendChild(container);
}