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
Linter
Magnus Müller30eb8fe36f70
diff --git a/browser_use/dom/views.py b/browser_use/dom/views.pyindex 80e54bde4..854565879 100644--- a/browser_use/dom/views.py+++ b/browser_use/dom/views.py@@ -51,52 +51,50 @@ DEFAULT_INCLUDE_ATTRIBUTES = ['ax_name',]-STATIC_ATTRIBUTES = set(- [- 'class',- 'id',- 'name',- 'type',- 'placeholder',- 'aria-label',- 'title',- # 'aria-expanded',- 'role',- 'data-testid',- 'data-test',- 'data-cy',- 'data-selenium',- 'for',- 'required',- 'disabled',- 'readonly',- 'checked',- 'selected',- 'multiple',- 'href',- 'target',- 'rel',- 'aria-describedby',- 'aria-labelledby',- 'aria-controls',- 'aria-owns',- 'aria-live',- 'aria-atomic',- 'aria-busy',- 'aria-disabled',- 'aria-hidden',- 'aria-pressed',- 'aria-checked',- 'aria-selected',- 'tabindex',- 'alt',- 'src',- 'lang',- 'itemscope',- 'itemtype',- 'itemprop',- ]-)+STATIC_ATTRIBUTES = {+ 'class',+ 'id',+ 'name',+ 'type',+ 'placeholder',+ 'aria-label',+ 'title',+ # 'aria-expanded',+ 'role',+ 'data-testid',+ 'data-test',+ 'data-cy',+ 'data-selenium',+ 'for',+ 'required',+ 'disabled',+ 'readonly',+ 'checked',+ 'selected',+ 'multiple',+ 'href',+ 'target',+ 'rel',+ 'aria-describedby',+ 'aria-labelledby',+ 'aria-controls',+ 'aria-owns',+ 'aria-live',+ 'aria-atomic',+ 'aria-busy',+ 'aria-disabled',+ 'aria-hidden',+ 'aria-pressed',+ 'aria-checked',+ 'aria-selected',+ 'tabindex',+ 'alt',+ 'src',+ 'lang',+ 'itemscope',+ 'itemtype',+ 'itemprop',+}@dataclass