Skip to content

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

Include arialabel

magmueller02c376999774
diff --git a/browser_use/agent/service.py b/browser_use/agent/service.py
index 7834301f8..5603c7161 100644
--- a/browser_use/agent/service.py
+++ b/browser_use/agent/service.py
@@ -66,7 +66,7 @@ class Agent:
system_prompt_class: Type[SystemPrompt] = SystemPrompt,
max_input_tokens: int = 128000,
validate_output: bool = False,
- include_attributes: list[str] = ['title', 'type', 'name', 'role', 'tabindex'],
+ include_attributes: list[str] = ['title', 'type', 'name', 'role', 'tabindex', 'aria-label'],
max_error_length: int = 400,
max_actions_per_step: int = 10,
):