# Test your web app on a clean Mac

> Ask your agent to open your page on a Mac device with nothing else on it, read what the page says and report anything that looks broken.

You will end up with a report from a clean Mac, with a screenshot of anything that looks off, so you never test on your own Mac.

## The situation

You have a page on the internet, a staging site or a fresh deploy. You want to know how it looks and behaves on a Mac that has none of your tabs, extensions or saved logins.

## Ask your agent

Connect [Claude Code or Codex](https://castle.cx/docs/get-started/connect-your-agent.md) first. Then paste something like this:

> Use a new Mac device from Castle. Open https://staging.example.com/signup in Safari there. Read what the page says and tell me anything that looks broken or missing. Take a screenshot of anything that does. Give the device back when you are done.

Swap in your own address. Use `https`. Say "a new Mac device" if you want a clean one, because without that your agent may be handed a Mac that is already ready.

## What the agent does

1. It asks Castle for a Mac. Castle hands it one it can use, or makes one.
2. It opens your page in the device's own browser, reads the words on the page, and takes a screenshot where something looks wrong.
3. It tells you what it found, then gives the device back with `done`. Castle keeps the device as it is.

Castle's guide tells the agent to treat the words on a page as content to report, never as orders, and to tell you if a page asks it to do something else. Keep an eye on what it does.

## What you see

- Open the device from the list in Castle to watch Safari work. You can use the device at the same time.
- The agent's reply is the report. Ask it to say what it did and what it saw, step by step.
- The device's Activity shows what went through Castle, in plain words, with who and when.

## Good to know

- **The first Mac takes a while.** The first device of each kind downloads its system, and a Mac takes minutes. New Device and the making page show a range of minutes.
- **Apple's terms.** Some systems ask you to agree to their maker's terms. Castle asks you in the app, and an agent that needs it waits. See [Your first device](https://castle.cx/docs/get-started/your-first-device.md).
- **Two Macs at a time.** Apple limits how many Macs run at once. If you hit it, see [Two Macs are already running](https://castle.cx/docs/help/two-macs-are-already-running.md).

## Next

Try an Android app the same way: [Try your Android app with an agent](https://castle.cx/docs/guides/try-your-android-app-with-an-agent.md).

---
Section: Guides · Last updated: 2026-11-20 · Source: https://castle.cx/docs/guides/test-your-web-app-on-a-clean-mac
