-
Notifications
You must be signed in to change notification settings - Fork 160
Description
Bug Description
ARNING [mlx_use.mac.tree] Could not get main window (error: -25212), trying fallback attribute AXWindows
ERROR [mlx_use.mac.tree] Fallback failed: could not get AXWindows (error: 0)
ERROR [mlx_use.mac.tree] Could not determine a main window for the application.
INFO [mlx_use.agent.service] β Eval: Failed - Requires enabling 'Allow JavaScript from Apple Events' in the Developer section of Safari settings.
INFO [mlx_use.agent.service] π§ Memory: Safari is opened, On Kayak.com page
INFO [mlx_use.agent.service] π― Next goal: Notify user that 'Allow JavaScript from Apple Events' needs to be enabled in Safari.
INFO [mlx_use.agent.service] π οΈ Action 1/1: {"done":{"text":"Sorry, to accomplish the task, please enable 'Allow JavaScript from Apple Events' in the Developer section of Safari settings."}}
INFO [mlx_use.agent.service] π Result: Sorry, to accomplish the task, please enable 'Allow JavaScript from Apple Events' in the Developer section of Safari settings.
INFO [mlx_use.agent.service]
π Step 10
WARNING [mlx_use.mac.tree] Could not get main window (error: -25212), trying fallback attribute AXWindows
ERROR [mlx_use.mac.tree] Fallback failed: could not get AXWindows (error: 0)
ERROR [mlx_use.mac.tree] Could not determine a main window for the application.
Reproduction Steps
alll install ok
Code Sample
Fallback failed: could not get AXWindows
Version
Name: browser-use Version: 0.1.40 Location: /Users/mahjoubhamid/.venv/lib/python3.11/site-packages Requires: httpx, langchain-anthropic, langchain-core, langchain-ollama, langchain-openai, markdownify, playwright, posthog, pydantic, python-dotenv, requests, setuptools Required-by:
LLM Model
GPT-4o
Operating System
15.4.1 (24E263)
Relevant Log Output
e Events' in the Developer section of Safari settings.
INFO [mlx_use.agent.service]
π Step 10
WARNING [mlx_use.mac.tree] Could not get main window (error: -25212), trying fallback attribute AXWindows
ERROR [mlx_use.mac.tree] Fallback failed: could not get AXWindows (error: 0)
ERROR [mlx_use.mac.tree] Could not determine a main window for the application.