Desktop Automation Permissions on Windows, macOS and Linux
Start with a blank document in a normal desktop session. Check whether your automation tool can see the document and whether it can type desk-check 47 into it. These are separate tests. Windows process privileges, macOS privacy permissions and a Linux Wayland session can each explain why a tool succeeds at one and fails at the other.

Start with one scratch window
- Open an unsaved document in a plain text editor as your normal desktop user. Type
capture-check 24yourself, then press Return. - If your tool uses screen capture, ask it to show the scratch window in its local preview. Check that
capture-check 24is readable. A tool that exposes an accessibility tree or a selector may have no preview. Record the capture test as “not applicable” in that case. - Put the cursor on the empty line. With the editor as the only target, ask the tool for one literal input action,
desk-check 47. Pass the action only if the scratch document gains that exact second line. - Record the application, desktop session, tool version and the two results. Close the scratch document without saving. Stop or revoke temporary screen sharing if you approved it for the test.
Windows and Power Automate for desktop
Start in an unlocked Windows session and use Power Automate for desktop from Microsoft. In a local desktop flow, add Focus window for the scratch editor, then Send keys with desk-check 47 as plain text. Set the cursor on the empty second line before running the flow. If you choose an action that captures the editor element, pick the desktop UI element type for a native editor. Microsoft’s Focus window and Send keys example, UI elements in Power Automate for desktop
If a physical click or input fails, confirm that the target editor and automation runner are both in the same interactive session and running with normal privileges. A locked desktop, a User Account Control prompt or a target started with higher privileges can block input. Reproduce the test in an ordinary editor before investigating an elevated app. Microsoft’s UIPI troubleshooting guide
macOS and the two privacy controls
In System Settings → Privacy & Security, use Screen & System Audio Recording when a trusted runner needs to capture the screen. Check Accessibility separately when it needs to control another interface using accessibility features. Give access to the exact application performing the action. If the runner is separate from its editor, identify which one actually captures or sends input. Repeat both checks after changing permissions. Apple on screen recording, Apple on accessibility access
For a task assembled from app-provided actions, start in the built-in Shortcuts app. For example, a shortcut that processes a text value can use app-provided actions inside Shortcuts. Record the app-action route separately from tests of screen capture or arbitrary clicks. Shortcuts User Guide for Mac
Linux and Wayland desktop sessions
Open a terminal inside the graphical session and record its reported type and desktop. Treat blank values as unknown, especially when using SSH or a shell outside the desktop.
printf 'session=%s desktop=%s\n' "$XDG_SESSION_TYPE" "$XDG_CURRENT_DESKTOP"With a Wayland-compatible tool that uses the XDG portal, check what it actually requests. A screen-sharing selector can enable capture while leaving keyboard and pointer control ungranted. A remote desktop request can ask for specific input devices and connect a screen stream separately. If a documented prompt never appears, confirm the tool supports your desktop and that your desktop provides the requested portal backend. XDG Remote Desktop portal, XDG portal backend selection
Read the two results
Prepare a scratch window
Use a test window with an obvious text label and no private data.
Check what was captured
Confirm the label can be seen in the output before testing any click.
Check what changed
Use a harmless input and verify its effect in the actual scratch window.
| What happened | What to look at first |
|---|---|
| The preview shows the scratch text, but typing fails | Focus, application privileges or a separate input-control permission |
| Typing works, but the preview is blank | The selected capture source or screen-recording permission |
| The selector finds the editor and input works, with no preview feature | Use the selector-based result you actually tested |
| Neither operation works | The active session, the selected application and the prerequisites for that desktop |
This is a permissions preflight based on the platform documentation. It doesn't report a native automation run on any of the three systems. For a reproducible browser-only run, use the desktop and mobile Playwright fixture. For mobile alternatives, see the cross-system tool comparison.