Skip to content

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

Include th-tds-button-link in elements

magmuellera0a4ebb4620a
diff --git a/browser_use/dom/buildDomTree.js b/browser_use/dom/buildDomTree.js
index f2a7c6bed..4cb1ca19e 100644
--- a/browser_use/dom/buildDomTree.js
+++ b/browser_use/dom/buildDomTree.js
@@ -111,7 +111,7 @@
// Base interactive elements and roles
const interactiveElements = new Set([
'a', 'button', 'details', 'embed', 'input', 'label',
- 'menu', 'menuitem', 'object', 'select', 'textarea', 'summary'
+ 'menu', 'menuitem', 'object', 'select', 'textarea', 'summary', 'th-tds-button-link'
]);
const interactiveRoles = new Set([