Book a clinic appointment by driving a real iPhone over Wi-Fi

A developer with sore hands let Claude Code control a spare iPhone through a patched WebDriverAgent. Booking a doctor's appointment in a clinic app first took an hour; after tuning, similar tasks took under a minute.

Done withClaude Code· Nov 24, 2026

What they did

The poster, u/Maxteabag, developed inflammation in their hands and wanted to stop tapping on a phone. They put a second iPhone in developer mode on home Wi-Fi, signed Apple's WebDriverAgent UI testing tool onto it once with Xcode over USB, and then had Claude Code drive the phone headlessly from a server on the same network: unlocking it, opening apps and tapping through them. The agent reads the app's accessibility tree and takes screenshots, and opens apps directly where it can. The first real job was booking a doctor's appointment at a clinic that only takes bookings through its iPhone app. They then patched WebDriverAgent and had an agent work through many apps to improve its own skill file. The result is the open source Turbotap CLI.

How it went

The first appointment booking worked but took about an hour because stock WebDriverAgent is slow. After the patches and the self-improvement runs, the poster says tasks that took 45 minutes now take about 45 seconds. They give no count of how many tasks they have run or how often it fails.

Worth knowing

You need a Mac with Xcode for the one-time signing, the phone stays on the same Wi-Fi as the machine running the agent, and it needs developer mode. The PIN is fetched by a command you set (for example the macOS keychain), so it never enters Claude's context. One commenter immediately mentioned bot farms, so expect apps to treat this traffic as automation.

Try it

With Claude Code· 3 parts to fill in

Use [Turbotap or my iPhone automation CLI] to control my iPhone on the local network. Open [app name] and [task, e.g. book the first available appointment with Dr. X next week in the morning]. Read the accessibility tree first and only take screenshots when it is not enough. Before you confirm any booking, payment or message, stop and show me the screen and the details you are about to submit. Stop if the app asks for a login or a code you do not have.

Square brackets are the parts to fill in. The prompt is ours; the story is theirs.

Where they said it

Related