Guides
Guides on Windows desktop automation, accessibility-tree control, UI automation, and AI agents that drive real apps.
"node with id 1 not found in a11y tree": what the error means and how to stop it
The "node with id 1 not found in a11y tree" error is a stale reference: a numeric accessibility-tree index captured in one snapshot no longer maps to a live node by the time the click runs. Here is why it happens in computer-use agents, and how Terminator sidesteps the whole class by pairing every index with a re-resolvable selector and polling the live tree on a 100ms loop.
"node with id X not found in a11y tree": what it means and the fix
The error means your automation acted on an accessibility node by an id it captured from an earlier tree snapshot, and the tree changed before the action ran. Here is why it happens, how to recover right now, and the architectural fix: re-resolve a durable role/name selector against the live tree at action time instead of caching snapshot ids.
A TV to use as a computer monitor: the developer-side answer the RTINGS-style guides never write
Every top result picks a TV by input lag and chroma 4:4:4. The piece they skip: a TV is just one endpoint of the display spectrum a desktop automation framework has to handle. The other endpoint is no monitor at all. Terminator's virtual_display.rs line 15 defines the exact 1920x1080x32bpp at 60Hz default that your scripts see when TERMINATOR_HEADLESS=1. That means the same code that drives your 65-inch LG C5 also drives a phantom display in a VM with no HDMI cable attached.
A UI automation test you can write as a boolean expression: inside Terminator's Shunting Yard selector parser
Most UI automation test runners treat a locator as a flat string: one id, one role, one XPath. Terminator parses selectors as a boolean expression. role:Button && (name:Confirm || name:Best\u00e4tigen) && !visible:false is tokenized, shunted through a three-precedence Shunting Yard parser (OR=1, AND=2, NOT=3), flattened, and evaluated as a single predicate on each element. Source: selector.rs, 753 lines.
A Windows automation script you record instead of write: 14 semantic event types, replayable against the accessibility tree
Every other guide on this topic tells you to type a PowerShell or AutoHotkey script. Terminator's workflow recorder captures one instead. The recorded JSON is the script: 14 high-level event types, each one a Click with interaction_type, a TextInputCompleted with keystroke_count, a FileOpened with confidence and candidate_paths, a recorded ApplicationSwitch with switch_method. Source: crates/terminator-workflow-recorder/src/events.rs:475.
Accessibility API desktop automation: fire Control Patterns, skip the mouse
Most guides treat the accessibility tree as a read-only inspection surface. The unlock is that UIA also ships Control Patterns (Invoke, Toggle, ExpandCollapse, Value) that act on elements without moving the mouse. Terminator's invoke() at element.rs lines 838 to 859 calls UIInvokePattern directly, which is why it runs deterministically in the background at CPU speed.
Accessibility API for AI agents: stop re-reading the whole tree, diff it
Most articles about driving an AI agent through the accessibility API stop at 'read the tree.' That's the trap: re-snapshotting the tree on every step blows out tokens. Terminator's MCP returns only the lines that changed after each action. The regex strip and line-based diff live at crates/terminator/src/ui_tree_diff.rs, and 20 MCP tools accept ui_diff_before_after.
Accessibility API for computer use agents: the seven-mode click_element router
A computer use agent that only clicks by accessibility selector breaks the moment it hits an Office canvas, an Electron child window, or a custom-rendered control. Terminator's click_element MCP tool dispatches across seven grounding modes (AX selector, AX-tree index, OCR index, Omniparser index, Gemini-vision index, DOM index, raw coordinates) under one signature. Source at crates/terminator-mcp-agent/src/utils.rs lines 728 and 1062.
accessibility crate on docs.rs: AXUIElement::system_wide(), and what the docs leave out
AXUIElement::system_wide() in the accessibility crate (v0.2.0) returns the root macOS AX element. The docs.rs page lists the signature but not the two things that break a real traversal: the crate's default TreeWalker skips application windows, and walking from the system-wide root loops forever without CFEqual/CFHash cycle detection. Field notes from Terminator's macOS code.
accessibility-sys AXUIElementCreateSystemWide: the reference docs.rs leaves out
The accessibility-sys crate (v0.2.0, by eiz) is 0% documented on docs.rs, so AXUIElementCreateSystemWide shows up as a bare zero-argument FFI signature with no explanation. Here is what the system-wide AX root actually returns, the one thing it cannot do, the trust gate you hit first, and working Rust.
Automation desktop application with five detection sources fused into one indexed tree
Every other automation desktop application tool commits to one view of the screen: UIA, or DOM, or computer vision. Terminator does not. Its ElementSource enum has five variants (Uia, Dom, Ocr, Omniparser, Gemini) with the prefixes u, d, o, p, g, and cluster_elements runs union-find to merge bounding boxes that sit within 1.5x the smaller element's dimension. An AI agent sees one YAML tree where every detected element carries a prefix, and can click the same Submit button via whichever source saw it. Source: crates/terminator/src/tree_formatter.rs lines 42 to 113 and 450 to 538.
Automation for desktop application: the Boolean and spatial selector language Terminator compiles through a Shunting Yard parser
Most automation for desktop application work still binds to coordinates or image matches. Terminator ships a typed selector language with Boolean algebra (&&, ||, !) and spatial relators (rightof, leftof, above, below, near) that a Shunting Yard parser compiles into an AST and runs against the OS accessibility tree. Source: crates/terminator/src/selector.rs lines 205-272; near threshold at crates/terminator/src/platforms/windows/engine.rs line 1815.
Automation for Windows that your AI coding assistant can actually drive: 35 MCP tools over UI Automation
Most automation for Windows is a canvas for humans or a hotkey language for scripts. Terminator is a developer framework that exposes Windows as 35 typed MCP tools to Claude Code, Cursor, and Windsurf. Every action returns a before/after UI tree diff so the agent can verify its own work.
Automation in Windows that does not steal your caret: how Terminator saves and restores focus around every action
Most automation in Windows fails the moment you keep typing. Terminator asks the OS for your focused element and caret range via UIA TextPattern2 before every action, then restores both when the automation finishes. Source: crates/terminator/src/platforms/windows/input.rs.
Automation on Windows is slow because of IPC: how Terminator collapses a 6.5s tree walk to 200ms
Every naive automation on Windows pays a COM round trip per property per element. Terminator's Windows backend builds the entire UI tree in a single CacheRequest with TreeScope::Subtree, pre-fetching 7 UIA properties in one IPC call. A 245-node window goes from 6.5 seconds to 200 milliseconds.
Automation scripts for Windows: one API for every app on the desktop
PowerShell and AutoHotkey cover sysadmin and hotkeys. They do not address Win32, UWP, WPF, WinForms, and Electron apps with one script. Terminator's selector engine defines 24 locator primitives that target the Windows UI Automation accessibility tree, and a 35-tool MCP agent so Claude Code can write and run the script for you. Source: crates/terminator/src/selector.rs.
Automation testing tool for desktop application: a transpiler that returns AI-fixable JSON, not stack traces
Most desktop test runners hand you a stack trace when a test fails to compile. Terminator hands the failing test back to whatever AI wrote it as a JSON object with error_type, error_line, fix, and a recovery action. Four recovery variants. Fourteen TypeScript-detection regexes. A condition parser that strips smart quotes before evaluating. The pieces of a desktop testing tool designed to be driven by an LLM that may have written the test five seconds ago.
Automation tools for UI testing that prove they can see the UI first
Every ranked list of automation tools for UI testing scores vendors on selectors, self-healing, and AI authoring. None of them ask whether the worker about to run the test can actually see a UI right now. Terminator's MCP agent ships an HTTP /ready endpoint that boots UIAutomation, grabs the desktop root, enumerates TreeScope::Children, and returns 200, 206, or 503 inside a hard 5 second timeout. Source: main.rs line 792 and crates/terminator/src/platforms/windows/health.rs.
Automation tools for Windows: the one that refuses to run an ambiguous selector
Most automation tools for Windows happily search the whole desktop tree and match the wrong button in the wrong app. Terminator's Windows engine throws AutomationError::InvalidSelector the moment your selector does not include a process: scope. Source: crates/terminator/src/platforms/windows/engine.rs line 1020.
Automation tools for Windows: why the cache-batched accessibility tree beats screenshots, coordinates, and RPA studios
Most automation tools for Windows either replay pixel clicks or drive a drag-and-drop studio. Terminator is a developer framework that builds the Microsoft UI Automation tree in one CacheRequest round-trip (ControlType, Name, BoundingRectangle, IsEnabled, IsKeyboardFocusable, HasKeyboardFocus, AutomationId), then serves every subsequent read from local cache with zero further IPC. That is the speed budget an AI coding assistant needs to drive a real desktop in a loop.
Automation UI testing that does not stop at the browser: Playwright-shaped tests for every desktop app
Most guides on 'automation ui testing' cover Selenium, Playwright, Cypress. All browser-only. This page shows how the same wait-for-visible, wait-for-enabled, assert-is-focused model works against native Windows and macOS apps through the OS accessibility tree, using one selector language that crosses Chrome, Excel, and Slack in a single test.
Automation UI testing tools: the tree-diff primitive every 2026 roundup misses
Every ranking of automation ui testing tools scores vendors on selectors, AI self-healing, and flaky-test retry loops. None of them cover the verification primitive that makes a test loop actually deterministic: diff the whole accessibility tree before and after each action, with volatile fields stripped so reruns produce identical output. Terminator ships this as simple_ui_tree_diff in crates/terminator/src/ui_tree_diff.rs. Here is what it does and why no one else has it.
AXObserver with the eiz/accessibility crate: the safe wrapper does not exist, here is the bridge
The high-level accessibility crate (eiz/accessibility) ships no AXObserver type. It exposes TreeWalker, ElementFinder, and the AXUIElement surface, and nothing else. To receive AX notifications you drop to the companion accessibility-sys FFI crate and drive AXObserverCreate, AXObserverAddNotification, and AXObserverGetRunLoopSource yourself. This is the layer Terminator's macOS tree walker sits on.
AXUIElement in Rust on macOS: which docs.rs crate you actually want
There is no single 'accessibility crate' for AXUIElement on macOS. docs.rs hosts at least five: accessibility (v0.2.0, the safe wrapper), accessibility-sys (v0.2.0, raw FFI), axuielement (v0.9.1, newer), objc2-application-services (v0.3.2), and macos-accessibility-client (v0.0.2). Here is which layer to start at, with download counts verified 2026-06-22 and field notes from Terminator's macOS code.
AXUIElement::system_wide() in Rust: the accessibility crate, explained
The docs.rs pages for the accessibility crate give you the signature pub fn system_wide() -> Self and nothing else. This is the field guide: what system_wide() actually returns, why you almost always want application(pid) instead, the permission gate, and the trap that the crate's own TreeWalker will not descend into an app's windows.
Browser agents leaving the DOM: where the tool surface ends, and what to do about it
Every browser agent breaks the moment its workflow crosses out of the DOM. The download triggers a Save dialog, the link opens a native app, the OAuth code arrives in a desktop authenticator. Terminator's MCP runs a Manifest V3 extension on a local WebSocket on 127.0.0.1:17373 next to the OS accessibility tree, so the same click_element selector works on both sides of the boundary.
Can I use a TV as a computer monitor? Yes, and here is the automation-side story nobody on the SERP tells
Every top result for this query is about HDMI cables, chroma subsampling, and input lag. The piece they skip: once a TV becomes monitor 2, any script or AI agent driving your desktop has to become monitor-aware. Terminator exposes a 9-field Monitor struct in crates/terminator/src/lib.rs:274 and a get_monitor_by_name() call so you can target a TV by its reported display name.
Can I use a TV for a computer monitor? Yes, and here is what happens to every overlay your PC already draws
HDMI cables and input lag are the easy part. The part nobody writes about: plugging a TV into your PC resizes the Windows virtual screen bounding box, and every piece of software that draws a full-screen overlay (including Terminator's action overlay at action_overlay.rs:287) stretches onto the TV. Here is how to turn that into a feature instead of a bug.
Can you use a computer monitor as a TV? Yes, and if it is plugged into a PC you can skip every adapter the other guides recommend.
Every top-ranked guide sends you to a streaming stick, a set-top box, or a coax-to-HDMI tuner. If your monitor is already connected to a computer, your computer is the tuner. Terminator ships a 151-line example that automates VLC to open any YouTube livestream and hit Play, driven by an AI agent. No Fire Stick, no Chromecast, no remote.
Claude computer use: the pixel-coordinate loop, and the selector-based alternative nobody explains
Claude's native computer use tool is a screenshot-in, pixel-coordinate-out loop. Every click costs a screenshot and an Anthropic round-trip. Terminator ships an MCP server with 32 selector-based tools so Claude can click by accessibility role and name instead, resolving against the OS UIA tree locally. This page shows both paths with real source from server.rs line 9953.
Coded UI automation in 2026: replacing Microsoft's deprecated CUIT with a Playwright-shaped selector chain
Microsoft deprecated Coded UI Test in Visual Studio 2019 and shipped nothing to replace it. Terminator brings a Playwright-style '>>' selector chain to the same Windows AutomationId CUIT addressed through generated UIMap.Designer.cs classes, and it does it in 10 lines, cross-platform, MCP-ready. Source: docs/SELECTORS_CHEATSHEET.md and examples/win_calculator.py.
Cross-platform desktop automation: how to verify the runtime is actually healthy on Windows and macOS before you click
A scripted click that never lands is worse than a test that fails fast. This guide shows how Terminator's built-in /ready endpoint verifies cross-platform desktop automation: one JSON contract on both Windows and macOS, three booleans (api_available, desktop_accessible, can_enumerate_elements), and a five-step Windows probe wrapped in a five-second timeout.
Desktop application automation that reports whether the click actually did anything
Most desktop application automation libraries expose click(element) as a fire-and-forget call. Terminator's click is a five-phase action that validates the element, asks UIA for a ClickablePoint (with a BoundsCenter fallback), captures pre-state, sends a real mouse event, then diffs post-state and returns a ClickResult with window_title_changed and bounds_changed fields you can assert on. Source: crates/terminator/src/platforms/windows/element.rs lines 666 to 722.
Desktop automation software: the recorder denylist that decides whether your workflow still runs in week two
Most desktop automation software is graded on what it can record. Terminator's recorder is graded on what it refuses to record. The workflow recorder ships a denylist of selector traps (relative timestamps, COM null patterns, browser internal class names) that get stripped from every saved selector so workflows survive past the day they were recorded. Source: crates/terminator-workflow-recorder/src/events.rs.
Desktop automation tools: why one clustered view of UIA, DOM, OCR, Omniparser, and Gemini beats picking a single perception method
Every desktop automation tool forces a choice: accessibility tree (WinAppDriver, UiPath) or pixel vision (SikuliX, Claude computer use, OpenAI Operator). Terminator fuses five perception sources (UIA, browser DOM, OCR, Omniparser icon detection, Gemini vision) into one spatially-clustered index so an AI coding assistant can target whichever source actually saw the element. This page walks through how that clustering works.
Everyday computer-use modal failure mode: the OS already labels modals, vision agents don't read the label
The single most common failure for pixel-loop computer-use agents (Claude's computer_20251022, Gemini Computer Use, OpenAI CUA) is the everyday modal: a save prompt, a permissions sheet, a cookie banner. The OS already names it as a modal via the UIA IsDialog property (Windows 10 1809+). Pixel agents are blind to that bit. Terminator reads it. The selector is role:Dialog.
Free desktop automation tools that let an AI assistant compile-check its own script before any click runs
Most lists of free desktop automation tools rank products by license terms, feature checklists, and supported recorders. None of them ask the question that matters once an AI assistant is the one writing the script: can the tool tell the assistant the workflow does not even compile, before that workflow opens a window? Terminator ships an MCP tool, typecheck_workflow, whose entire job is to run tsc --noEmit on the assistant's TypeScript file and return structured TypeError records with file, line, column, error code, and a seven-line code context window with an arrow marker on the offending line. This guide walks through the file, the regex, the fallback chain, and the loop the assistant runs end-to-end.
Free desktop automation tools, audited at the flag level: where the cost cliff actually hides
Every free desktop automation tool has a cost cliff somewhere: seat caps, unattended-run paywalls, license servers, telemetry you cannot switch off, or a cloud backend that goes away if the vendor does. This guide walks through where that cliff sits for each of the usual products, then shows Terminator's cost surface flag by flag, including the three environment variables that move every remote dependency onto your own infrastructure.
How to use two computer screens: the developer side of dual monitors nobody writes about
Every dual-monitor guide explains cables and Display Settings. This one explains the other half: how software tracks which window is on which screen, why DPI scale factor changes per monitor, and the Windows UIA bug that silently broke clicks on screen two until April 2026. All grounded in Terminator's Monitor API at crates/terminator/src/lib.rs line 272.
LLM desktop automation in April 2026: every model release, plus the one-line replacement that decides whether their clicks actually land
April 2026 brought a wave of computer-use LLMs (Microsoft Fara-7B, Gemma 4, Manus updates, Claude Mythos preview), but the consequential change for desktop reliability shipped on April 2 in Terminator 0.24.31 (PR #473). It replaced Windows UI Automation's is_offscreen() check, which lies about elements on secondary monitors, with a manual bounds-intersection across every connected display. Every multi-monitor LLM workflow on Windows depended on it.
macOS accessibility UI tree automation: the write path nobody warns you about
The read path is easy: AXUIElementCopyAttributeValue walks the tree. The write path is the trap. AXPress and AXClick return success on browser-rendered views and do nothing. A real AX automation engine ships an 8-browser bypass list, a 3-tier click fallback, and synthetic CGEvents. Notes from a 4,368-line macOS implementation that got deleted on 2025-12-16.
MCP server list: where your client actually keeps one, and the 12-path map an installer has to know
Every top result for 'mcp server list' is a directory of third-party servers. None tell you that your MCP client keeps its own list, as a JSON file, at a path that differs by client and by OS. Terminator's installer ships the map: 12 client paths across Windows, macOS, and Linux, plus a special-cased command shell-out for VS Code. This page is that map, with the source and the verify commands.
MCP server means a process, not a protocol: the operational layer every explainer leaves out
Every top result for 'mcp server means' stops at the protocol definition: a process that exposes tools, resources, and prompts. None of them describe what the server actually does on every single tool call. This page shows the operational layer using Terminator's 10,912-line server.rs: how it saves your keyboard focus before the LLM acts, restores it after, enforces per-client Ask/Act mode, returns HTTP 503 the moment one tool is running, and cancels mid-flight via a tokio cancellation token.
Microsoft Power Automation Desktop, but the workflow file is plain YAML your AI assistant can write
Power Automate Desktop locks your automation inside a proprietary designer. Terminator is a developer framework for the same job: the workflow is a YAML file with readable selectors like role:Button && name:Save, an MCP server Claude Code or Cursor talks to directly, and TERMINATOR_HEADLESS=true runs the same file unattended on a Windows VM.
Microsoft UI Automation tool: how Terminator pre-fetches a whole subtree in one COM call
Most Microsoft UI Automation tools die on per-property COM round-trips. Terminator builds an IUIAutomationCacheRequest with seven UIProperty fields, sets TreeScope::Subtree (Element=1, Children=2, Descendants=4 = 7), and reads everything via get_cached_*. Source: tree_builder.rs lines 398 to 466, MIT licensed.
Node with an id in the a11y tree: how browser automation does it, and how to do it for every app
Browser automation gives every accessibility-tree node a stable id (an AXNodeId in Chrome DevTools Protocol, a ref in a Playwright snapshot) so you can act on it without coordinates. Terminator brings the same model to native desktop apps: each node's id is a 6-character string derived from a BLAKE3 hash of its AutomationId, role, name, and class. Here is where the id comes from, how it is computed in crates/terminator/src/platforms/windows/utils.rs, and how an LLM acts on a node by its index.
Notion MCP server, but for the desktop app: controlling Notion through the OS accessibility tree
Every guide for 'notion mcp server' covers the official REST API server. This one covers the other kind: an MCP server that drives the Notion desktop app itself through Windows UI Automation, using selectors like window:Notion >> role:Button && name:Share. No OAuth, no API rate limits, and it can touch UI that the REST API never exposes.
Open source desktop automation projects, April 2026: which ones still ship, which ones speak MCP, and the only one with a real selector grammar
A grounded look at the open source desktop automation projects that matter in April 2026. Most of the listicles re-list the same six tools from a decade ago. This guide groups projects by what they actually hand to an AI coding assistant: pixels, a Python wrapper, a flowchart studio, or a typed selector grammar with an MCP server. Terminator is the only one in the last category, and the implementation lives in 753 lines of Rust at crates/terminator/src/selector.rs.
Playwright MCP server, then off the page: what an MCP server looks like when it does not stop at the browser tab
Playwright MCP is excellent inside a tab. The moment your AI agent needs to leave the tab (open Excel, paste a value, run a CLI, drag a file into a desktop app) it is out of room. Terminator is the same shape of MCP server (accessibility-tree-based, click and type by selector, discovered at runtime), but its dispatch function spans the whole OS. And it ships a separate Chrome extension on ws://127.0.0.1:17373 so one workflow mixes DOM-level and native-app steps.
Python automation on Windows: hand the whole window tree to an LLM in one call
Every other guide on Python automation on Windows teaches imperative pywinauto loops. Terminator's Python binding exposes desktop.get_window_tree(pid), which returns a UINode whose __str__ is pretty-printed JSON for the entire UI tree, pre-fetched in one IPC hop. Source: packages/terminator-python/src/desktop.rs line 384.
Python desktop automation that actually runs concurrently with asyncio.gather
pyautogui, pywinauto, and the rest of the Python desktop automation libraries are all sync. Terminator's Python binding releases the GIL on every UI call and runs the work on a Tokio reactor, so await asyncio.gather() resolves locators across multiple apps in parallel. Source: packages/terminator-python/src/locator.rs line 26.
Python for Windows automation: 16 typed exceptions instead of try/except Exception
Most Python libraries for Windows desktop automation throw one or two exceptions and call it a day. Terminator's Python binding raises 16 distinct error classes, one for each way a Win32 control can refuse you. Source: packages/terminator-python/src/exceptions.rs.
Robotic desktop automation software graded on its selector engine, not its Studio screenshot
Every roundup of robotic desktop automation software grades the same drag-and-drop Studios. Terminator is graded on what its bot actually uses to find a button on the screen: a 24-variant typed selector enum at crates/terminator/src/selector.rs that composes positional, boolean, and structural operators against the Windows UI Automation tree, exposed to AI coding assistants through 35 MCP tools.
RPA accessibility tree selectors: the actual grammar, with operator precedence
Most RPA selectors are XML blobs that pin to a specific window path. Terminator's selector engine, in crates/terminator/src/selector.rs, is a 25-variant Rust enum parsed by shunting-yard with explicit operator precedence (NOT > AND > OR), with the descendant chain split before the boolean parser runs. Here is the entire grammar, why each piece exists, and what you have to unlearn coming from UiPath or Power Automate Desktop.
Selenium UI automation, stretched to every native app: how Terminator reuses your locator grammar outside the browser
Selenium taught a generation of engineers to pick UI elements by role, name, and CSS selector. Terminator ships the same prefix grammar, the same >> descendant chaining, and five spatial operators (rightof:, leftof:, above:, below:, near:) that Selenium has no equivalent for, running against the OS accessibility tree in 753 lines of Rust.
Slack MCP server without a bot token: what driving the Slack desktop app through accessibility APIs looks like
Every Slack MCP server you have seen wraps the Slack Web API. That means a bot token, a workspace admin install, a finite set of API scopes, and rate limits. Terminator is a different shape of Slack MCP server: it drives the running Slack desktop client directly through OS accessibility APIs, as the logged-in user. No bot, no OAuth, no scope list. This page explains how that works, what it unlocks, and where it stops.
Task automation for Windows with spatial selectors: click the button right of the Email field, no coordinates
Every Windows task automation tool except Terminator forces you to pick between reading the accessibility tree by role and name, or measuring pixel coordinates. Terminator's selector engine lets you write rightof:name:Email or below:role:Label, and the Windows backend resolves it by walking the UIA tree and filtering on bounding boxes. The near: radius is hardcoded at 50 pixels in crates/terminator/src/platforms/windows/engine.rs line 1815.
Task automation on Windows: the four fields that turn a script into a resumable workflow
Task Scheduler runs a .exe and reports pass or fail. Terminator's execute_sequence engine treats every step as a contract with retries, fallback_id to a named recovery block, post-success jumps, and expected_ui_changes. The SequenceStep struct in crates/terminator-mcp-agent/src/utils.rs at line 1453 has 11 fields and 9 of them are about control flow, not which button to click.
Terminator computer: the open-source tool that lets AI control your desktop
Search 'terminator computer' and you get Skynet from the movies. There is also a real, open-source developer tool named Terminator that gives AI assistants computer-use control over every app on your desktop, through native accessibility APIs instead of screenshots. Here is what it is and how it actually drives the machine.
Terminator MCP: the desktop automation server that type-checks your workflow before it ever clicks a pixel
Every other walkthrough of this stops at claude mcp add terminator and a tool list. None of them tell you that Terminator's MCP server ships a first-class typecheck_workflow tool that runs tsc --noEmit on your TypeScript workflow directory, parses the tsc stderr with a dedicated regex, and returns structured TS errors with 5 lines of code context around each failing line before the LLM ever tries to run the workflow on a real desktop.
Terminator software: a developer framework for driving any desktop app, not a Linux terminal emulator
Terminator software is an open source desktop automation framework for Windows and macOS. It drives native apps through accessibility APIs, ships as a Rust crate, npm package, Python package, and MCP server, and is published at github.com/mediar-ai/terminator. Not to be confused with the older Linux terminal emulator of the same name.
Test automation for desktop applications, with a 10ms primary-selector grace period
Terminator races the primary selector against every alternative in parallel tokio tasks, then gives the primary a 10 millisecond grace window to catch up even when an alternative wins first. The race sits at utils.rs line 2402, the grace at line 2425. That is why a desktop regression suite that lands on Terminator stops silently drifting to weaker selectors between runs.
Test automation for desktop applications, with a built-in four-file forensics bundle on every step
Terminator writes four artifacts to disk for every MCP tool call: a JSON request and response log, a regenerated TypeScript replay snippet, a before-screenshot, and an after-screenshot. All land under %LOCALAPPDATA%/mediar/executions/ with 7-day automatic retention. That is a built-in flake-investigation primitive no other desktop automation framework ships. Source: crates/terminator-mcp-agent/src/execution_logger.rs.
Test automation UI: stop flakes at record time, not run time
Most test automation UI guides cover run-time flake mitigation: retries, auto-wait, AI self-healing. This page covers the upstream move Terminator's workflow recorder makes: stripping 'flaky DNA' (relative timestamps, Windows COM null values, browser chrome panes) out of the accessibility tree before a selector is ever written.
The automation software for Windows that also runs JavaScript inside your browser tabs
Most automation software for Windows stops at the OS boundary. Terminator ships a Manifest V3 Chrome extension, Terminator Bridge v0.24.32, that opens a WebSocket to 127.0.0.1:17373 and evaluates JavaScript inside the active tab via chrome.debugger. One script can click a native Windows button and read the DOM of the page behind it.
The automation software for Windows that can pause and ask the human mid-run
Most automation software for Windows plays back a recording and fails silently when the UI is ambiguous. Terminator's MCP agent ships six typed elicitation schemas and a dual-peer router that pauses the tool, sends a structured question to whichever connected client supports elicitation, and resumes with the user's answer. Source: crates/terminator-mcp-agent/src/elicitation/schemas.rs lines 6-136 and helpers.rs line 90.
The Claude Code MCP server that treats your context window as a budget, not a default
Every 'Claude Code MCP server' tutorial shows claude mcp add and a list of popular servers. None of them talk about what happens after you wire up a desktop automation MCP and Claude Code starts burning 30 round-trips to click through an installer. Terminator's execute_sequence tool collapses a whole 20-step desktop workflow into one MCP call, saves workflow state to disk between runs, and lets the same YAML re-play on a headless VM after Claude Code closes.
The UI automation tool that finds buttons by geometry, not by ID
Terminator is a UI automation tool with spatial selectors: rightof:, leftof:, above:, below:, near:. Each picks desktop controls by bounding-rectangle geometry against a labeled anchor, so you can target the OK button next to an error message without knowing its AutomationId. Implementation: engine.rs line 1815, NEAR_THRESHOLD = 50.0, MIT licensed.
The UI test automation tool whose write primitives refuse to lie
Terminator is a UI test automation tool where every write (type, click, set_value, set_selected) re-reads the element's accessibility property before returning. If the read-back does not match the intent, the step fails. No assert calls required. The guard lives at server.rs line 6860; the method label in the result JSON is 'direct_property_read'.
The Windows automation program you can watch work: Terminator's 30% translucent action HUD
Terminator is the only Windows automation program that draws a click-through, 30% opaque, full-screen status HUD over the live desktop on every click and keystroke. 77/255 alpha, 32-pixel Segoe UI, 300ms minimum display. Source: crates/terminator/src/platforms/windows/action_overlay.rs, 565 lines.
The Windows automation software that throws out unstable selector text at record time
Most Windows automation software records whatever the UIA tree returns, then wonders why replays break three steps later. Terminator's workflow recorder ships an in-memory filter that rejects 20 null-like strings, 10 relative-time substrings, and 3 internal browser containers before the selector is ever serialized. Source: crates/terminator-workflow-recorder/src/events.rs lines 8-81 and 685-716.
The Windows automation tool whose if: expressions survive a paste from Slack
Every Windows automation tool has conditional steps. Only Terminator's interpreter has a line dedicated to curly quotes. Before the parser ever runs, normalize_expression rewrites eight characters (U+2018, U+2019, U+201C, U+201D, backtick, U+00A0, U+2009, U+202F) so if: quote_type == 'Face Amount' evaluates the same whether you typed it in a shell or pasted it out of Notion, Slack, or Word. Source: crates/terminator-mcp-agent/src/expression_eval.rs.
Tools for automation testing of desktop application, with a structural diff baked into every action
Most desktop test tools want you to write assertions per step. Terminator returns a unified diff of the UI tree before and after each action, with element IDs and pixel coordinates already stripped. The stripping logic lives at crates/terminator/src/ui_tree_diff.rs lines 7 and 40. The diff sits on every ClickResult and ActionResult as the uiDiff field.
TV to use as computer monitor: the coordinate-space gotcha every hardware guide skips
Hardware blogs cover input lag, OLED burn-in, and chroma 4:4:4. The part nobody writes: the moment your TV becomes display 2, every script, AI agent, and accessibility tool sees a different coordinate space. Here is the exact 95 lines of Rust in Terminator that decide which screen owns each click, and the strict-less-than rule on element.rs:748 that picks the TV over the laptop on a single off-by-one pixel.
UI Automation for Microsoft Windows: the overlay no other UIA client draws
Every Microsoft UI Automation client reads the same IUIAutomationElement surface. Terminator is the only one that paints a full-screen click-through status overlay for every action. Window class TerminatorActionOverlay, alpha 77/255, MINIMUM_DISPLAY_MS 300, wrapped in an RAII guard so every click, type, invoke, scroll, and toggle draws it. Source: action_overlay.rs.
UI automation testing that survives a layout shift: how Terminator diffs the accessibility tree without coordinates
Most UI automation testing breaks the moment a button moves 100 pixels. Terminator diffs the OS accessibility tree with the bounds rectangles stripped out, so a Reply button that drifts 118px down between runs produces zero diff and your test still passes. Source: ui_tree_diff.rs.
UI automation tests that locate elements by geometry: the five spatial selectors inside Terminator
Most UI automation tests lock onto IDs, names, or XPaths that shift the moment the layout changes. Terminator ships five spatial selectors (rightof:, leftof:, above:, below:, near:) that find an element by its position relative to a visible anchor. Near uses a hard-coded 50.0 pixel Euclidean radius.
UI automation tools in 2026: every listicle still ships a GUI; Terminator ships 35 MCP tools
The top eight ranking pages for ui automation tools list Selenium, Playwright, TestComplete, Ranorex, Katalon, UiPath. All of them are humans driving a GUI. Terminator inverts that: 35 MCP tools exposed from one Rust binary, so Claude Code, Cursor, VS Code, and Windsurf can click, type, and navigate desktop apps directly. One install line. Source at crates/terminator-mcp-agent/src/server.rs.
UI automation, Selenium-shaped, recorded as semantic events instead of keystrokes: Terminator's workflow recorder
Selenium IDE records clicks and keystrokes inside one browser tab. Terminator's workflow recorder sits on top of Windows UI Automation and emits three typed, high-level events (TextInputCompletedEvent, ApplicationSwitchEvent, BrowserTabNavigationEvent) across every window on the OS. One 'typed hello world in 1.2 seconds over 11 keystrokes' event replaces 22 keydown/keyup entries. Source: crates/terminator-workflow-recorder/src/events.rs.
UI test automation tools: the 25-variant selector enum every listicle is missing
Every 2026 roundup of ui test automation tools lists browser-only frameworks or closed-source image-based suites. None include a free, code-first tool that targets any native desktop app via the OS accessibility tree. Terminator's Selector enum ships 25 variants including process scoping and five spatial selectors, composable with boolean operators and a chain operator parsed by a real Shunting Yard. Here is the shape of the gap.
UiPath desktop automation for developers: a selector grammar with operator precedence, not an XML editor
Most explainers about UiPath desktop automation describe XML selectors with wnd and ctrl tags configured inside Studio's Selector Editor. Terminator takes the same Windows UI Automation primitives and exposes them through a single-string boolean expression grammar with parentheses, AND, OR, NOT, descendant chaining (>>), spatial operators (rightof:, above:), and a has: predicate, parsed by a Shunting Yard algorithm in crates/terminator/src/selector.rs. Same UIA tree underneath, very different surface for code and AI agents.
What is an MCP server? A real one, opened up in the editor, not the abstract definition
Every top result for this query defines MCP the same way: a protocol that lets AI call tools. Nobody opens an actual MCP server and shows the dispatch function. This page does. We look at Terminator's dispatch_tool match block in server.rs (31 match arms, one per tool) and the build.rs trick that extracts those tool names at compile time and bakes them into the system prompt.
What is the best SDK? It depends on the layer you are automating
There is no single best SDK. The right one depends on which layer you control: an API SDK for a service, Playwright for the browser, and an accessibility-driven framework like Terminator for the whole desktop. Here is how to choose, plus what actually separates a reliable SDK from a brittle one.
What is UI automation? It is pattern invocation, not pixel clicking
UI automation is a program that drives an application through its accessibility tree. In Terminator, invoke() is 22 lines of Rust that dispatch a UIA InvokePattern through COM, no mouse involved. click() is a 5-phase cascade that falls back to a real SendInput mouse event. Most guides describe the outcome; this one reads the source.
Windows automation in Python with a real visual debugger built in
Every other Python library for Windows automation runs your script blind. Terminator's Python binding ships element.highlight(), a Win32 GDI overlay that draws a colored, layered, click-through border around any UI element your script touches, with text labels at nine positions. Source: crates/terminator/src/platforms/windows/highlighting.rs line 65.
Windows automation scripting, inverted: the AI drives, the runtime writes the script
Every other guide hands you a PowerShell or AutoHotkey template. Terminator flips it. An AI coding agent drives the desktop through an MCP server, and execution_logger.rs transcribes every tool call into a paired JSON log and replayable TypeScript snippet with before/after screenshots, saved under %LOCALAPPDATA%\mediar\executions\ for 7 days.
Windows automation with Python that runs PowerShell inline, no subprocess needed
Terminator's Python binding ships desktop.run(command, shell, working_directory), a GitHub Actions-style shell runner built into the automation library. One async function clicks Win32 controls and runs multi-line PowerShell, and the awaitable returns a typed CommandOutput. Source: packages/terminator-python/src/desktop.rs line 173.
Windows program automation: the three launch backends behind one open_application call
Power Automate Desktop, AutoHotkey, and PyAutoGUI all assume the program is already open. Terminator's open_application routes a single call through ShellExecuteW for ms-settings URIs, ApplicationActivationManager for Start-menu and UWP apps, and CreateProcessW for legacy .exe, with a 30-second Get-StartApps cache and an EnumWindows-based window binder. Source: crates/terminator/src/platforms/windows/applications.rs.
Windows script automation: one MCP tool, six scripting engines, one desktop SDK
PowerShell, Node, Bun, TypeScript, Python, cmd, bash. One MCP tool (run_command) drives all of them and injects a desktop SDK as a global so a single Windows script can shell out to the registry and click a WPF button in the same execution. Source: terminator-mcp-agent/src/utils.rs:963.
Windows software automation as a query language: selectors with &&, ||, !, >>, and spatial anchors
Most Windows software automation tools record clicks or pin to X,Y coordinates. Terminator turns the desktop into a query surface: role:Button && name:Save, window:Login >> role:Edit && rightof:(name:Username), !name:Cancel. This is a tour of the selector grammar, the Shunting Yard parser that compiles it, and the 50.0-pixel geometric filter that powers rightof: and near:. Source: crates/terminator/src/selector.rs and platforms/windows/engine.rs.
Windows task automation: the deferred click capture that makes recording a real human workflow survive the modal it just opened
Recording a Windows workflow is a race against the UI the click is about to change. Terminator's recorder captures the UI element on MouseDown (when the UIA tree is stable) and defers emitting the Click event until MouseUp, with a 5000ms staleness cutoff. The pattern lives in crates/terminator-workflow-recorder/src/recorder/windows/mod.rs starting at line 25.