npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@loadmill/droid-cua

v2.2.2

Published

AI-powered Android testing agent using OpenAI's computer-use model and ADB

Readme

droid-cua


AI-powered mobile testing desktop app for Android and iOS

Create, run, and manage mobile tests with natural language. The desktop app guides setup, connects to your target device or simulator, and turns AI exploration into reusable test scripts.

https://github.com/user-attachments/assets/b9e15a1d-8072-4a2f-a4c5-db180ae38620


droid-cua is a desktop app for AI-powered mobile testing.

It helps teams create, edit, and run tests for Android devices and emulators and iOS simulators on macOS using natural language instead of traditional test code.

Under the hood, droid-cua uses an AI agent to explore your app, execute actions, and save reusable test scripts that can also be run later in headless workflows.


1. Download the desktop app

2. Launch the app

Open the desktop app and choose the platform you want to test.

3. Add your credentials

Set your OpenAI API key in the app Settings screen, or log in with your Loadmill account.

4. Connect a target device

  • Android: connect a device or select an emulator
  • iOS: choose a simulator on macOS

5. Create or run a test

Use the desktop app to create a new test, edit an existing one, or run a saved script with live execution logs.

You can also keep project run history in a results folder and review past runs from desktop app reports.


  • Android - Physical devices and emulators
  • iOS - Simulators on macOS

Requirements

All platforms:

  • OpenAI API key

Android:

  • Android Debug Bridge (ADB)
  • Android Emulator CLI for launchable emulators

iOS (macOS only):

  • Xcode with iOS Simulator
  • Appium
  • XCUITest driver

  • Desktop-first workflow - Create, run, and manage tests from one app
  • Setup guidance - Configure API access and platform prerequisites in the app
  • Device and simulator connection - Connect Android targets and iOS simulators
  • Natural-language test creation - Describe flows in plain English
  • Test management - Create, edit, save, and rerun reusable scripts
  • Live execution logs - Watch actions and progress as tests run
  • Reports and history - Review past runs from a project results folder inside the desktop app
  • JUnit XML output - Write standard test reports for CI systems and external tooling
  • Headless support - Reuse scripts in CLI and automation workflows

  1. The desktop app connects to an Android device or emulator through ADB, or to an iOS simulator through Appium + XCUITest
  2. Captures full-screen device screenshots
  3. Scales down the screenshots for OpenAI model compatibility
  4. Sends screenshots and user instructions to OpenAI's computer-use model
  5. Receives structured actions such as click, scroll, type, keypress, wait, and drag
  6. Rescales model outputs back to real device coordinates
  7. Executes the actions on the device or simulator
  8. Validates assertions and handles failures
  9. Repeats until task completion

The desktop app is the primary way to use droid-cua.

For CI, scripting, or advanced workflows, droid-cua also includes a CLI for running saved instructions headlessly.

Desktop projects can also keep run reports in a results folder, including JUnit XML output that the app can read back as project history.

Install:

npm install -g @loadmill/droid-cua

Examples:

# Interactive CLI
droid-cua

# Headless Android run
droid-cua --avd adb:emulator-5554 --instructions tests/login.dcua

# Headless iOS simulator run
droid-cua --platform ios --avd "iPhone 16" --instructions tests/login.dcua

Supported CLI options include:

  • --avd
  • --platform
  • --instructions
  • --record
  • --debug

© 2025 Loadmill. All rights reserved.