Skip to content

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

lower z-index

Oskari Silvoniemiffbbf12fca5d
diff --git a/browser_use/dom/buildDomTree.js b/browser_use/dom/buildDomTree.js
index d7a802cb6..ad87f9014 100644
--- a/browser_use/dom/buildDomTree.js
+++ b/browser_use/dom/buildDomTree.js
@@ -211,7 +211,7 @@
container.style.left = "0";
container.style.width = "100%";
container.style.height = "100%";
- container.style.zIndex = "2147483647";
+ container.style.zIndex = "2147483640";
container.style.backgroundColor = 'transparent';
document.body.appendChild(container);
}