Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Rust agentai-agentapplecomputer-usecomputer-use-agentcontainerizationcuadesktop-automationhacktoberfestlumemacosmanusoperatorswiftvirtualizationvirtualization-frameworkwindowswindows-sandbox
fix
Dillon DuPont692cd6c55b1c
diff --git a/libs/computer-server/computer_server/handlers/macos.py b/libs/computer-server/computer_server/handlers/macos.pyindex b76b28c7d2..a4ad6f5fed 100644--- a/libs/computer-server/computer_server/handlers/macos.py+++ b/libs/computer-server/computer_server/handlers/macos.py@@ -530,8 +530,8 @@ class MacOSAccessibilityHandler(BaseAccessibilityHandler):system = AXUIElementCreateSystemWide()# Get focused element directly from system-wide element- err, focused_element = AXUIElementCopyAttributeValue(system, kAXFocusedUIElementAttribute, None)- if err != kAXErrorSuccess or not focused_element:+ focused_element = self.get_ax_attribute(system, kAXFocusedUIElementAttribute)+ if not focused_element:return {"success": False, "error": "Could not get focused UI element"}# Get position of focused element