Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
Python ai-agentsai-toolsbrowser-agentbrowser-automationbrowser-usecdpcloud-browsercomputer-useheadless-browserllmmcpplaywrightpythonremote-browserstealth-browserweb-automationweb-scraping
Include accept
Magnus Müller8ee357495c0e
diff --git a/browser_use/dom/views.py b/browser_use/dom/views.pyindex 55b579aeb..e763e5475 100644--- a/browser_use/dom/views.py+++ b/browser_use/dom/views.py@@ -43,6 +43,8 @@ DEFAULT_INCLUDE_ATTRIBUTES = ['minlength','maxlength','step',+ 'accept', # File input types (e.g., accept="image/*" or accept=".pdf")+ 'multiple', # Whether multiple files/selections are allowed# Webkit shadow DOM identifiers'pseudo',# Accessibility properties from ax_node (ordered by importance for automation)@@ -90,6 +92,7 @@ STATIC_ATTRIBUTES = {'checked','selected','multiple',+ 'accept','href','target','rel',