Android, HarmonyOS, iOS, Web and Desktop Automation Compared
Start with the surface you need to control. A browser tool sees web content, a native test driver sees the application the platform exposes, and an iPhone shortcut runs the actions available to it. A screenshot model can help locate a visual target. It still needs an execution path and a way to check the result.

Choose the surface first
| Target | First option | How to verify success | Boundary to check |
|---|---|---|---|
| An Android app or Android Settings on a test device | Android UI Automator or Appium UiAutomator2 | Assert a visible label, an enabled state or the next expected view | SDK/device authorization, accessibility nodes and native versus WebView context |
| A supported HarmonyOS device | Open-AutoGLM or Midscene through HDC | Confirm HDC lists the device, then compare a task and a separate visual assertion | Check the exact device and OS build. The Android ADB and HarmonyOS HDC instructions have different prerequisites. |
| An iOS app in a controlled test environment | XCUITest through Xcode or Appium’s XCUITest driver | Run on a supported simulator or device and assert a stable accessibility identifier | macOS/Xcode compatibility, signing and real-device requirements |
| A personal action supported by an iPhone app | Apple Shortcuts | Run manually with sample data and inspect its output before choosing a trigger | The app must expose the action, and some automations require confirmation |
| A page in a supported browser | Playwright | Use an accessible role or label and assert a state on the page | Browser emulation exercises web content; it does not run a native mobile app |
| A native Windows application | Power Automate for desktop or a suitable desktop test driver | Capture a UI element and check the resulting window or control | Interactive session, process rights and UI Automation support |
| A personal Mac workflow | Shortcuts for app-provided actions | Run the action with sample input and verify its output | Access to the action and, for UI-based tools, the relevant macOS privacy settings |
| Native desktop capture or input on Linux | A desktop automation tool with documented support for your Linux session | Check image capture and input control separately with a scratch window | Wayland backend and permissions granted for that session |
Use the official requirements for Android UI Automator, Open-AutoGLM’s HDC setup, Appium drivers, Apple Shortcuts, Playwright locators and Power Automate desktop elements.
The current Open-AutoGLM source also lists an iOS adapter that expects a running WebDriverAgent. Treat it as a developer setup and verify that your installed revision exposes it. Shortcuts uses app actions, while XCUITest can assert the state of an app under test.
One feature, four different checks
Native mobile
Look for a screen state or an assertion tied to the app under test.
Web
Assert a named element after the same action at both viewport widths.
Desktop
Verify capture and programmatic input separately in a scratch window.
Imagine a product that lets you filter a list of saved places. Make two sample entries on each platform. Your pass condition is that applying the filter shows one named entry and hides the other.
- Native app. Expose an accessibility identifier for the filter. Let a native test open the screen and assert the two entry states. Keep platform selectors in separate files and reuse the expected outcome.
- Mobile website. Use two browser viewports and a semantic locator. Run the same browser check at desktop and phone widths. This covers how the web page behaves at those sizes.
- Personal shortcut. Ask which action the app exposes. If it can return records through Shortcuts, filter those records and show a list. This demonstrates an action-based workflow. Add a native test if you need to verify the actual app UI.
- Desktop client. If it is a native Windows app, check the Windows UI element tree. If it is mainly a website, start with browser locators, then use a desktop tool for steps outside the webpage.
When a control is rendered only as pixels, a screenshot model may be a useful extra tool. Evaluate its coordinate output with an annotated screenshot before letting it interact with a device. Continue with a browser check you can run locally, an Android and iOS Appium preflight, a HarmonyOS HDC connection check, or the Windows, macOS and Linux permissions check.