Watch and control simulators in the browser
Argent Cloud Viewer shows the screen of a hosted simulator live in your browser. You can tap, type, and scroll on the simulator while your agent or the CLI uses the same session.
Open the viewer
- Open Argent Cloud Viewer.
- Log in with your API key. To see the session of
sim-remote login, use the same key as the CLI. - Under Machine, select one of your sessions. If you hold no session, click Lease a machine to reserve one. The viewer calls a session a machine.
- Under Simulators, select a booted simulator. The viewer shows its screen in the middle of the page.
The viewer shows only the sessions that your API key holds. It does not show the sessions of your teammates. A simulator that your agent boots appears in the list without a reload.
To boot a simulator from the viewer, click + next to Simulators. Select a simulator that is shut down, or create a new one.
Control the simulator
Click, drag, and type on the screen as you would on a phone. Three gestures work differently:
- Scroll: Drag on the screen. Trackpad scrolling does not work.
- Pinch or zoom: Hold Option (Alt on Windows and Linux) and drag. The viewer adds a second finger that mirrors the pointer.
- Two-finger drag: Hold Option and Shift (Alt and Shift on Windows and Linux) and drag. Both fingers move together (for example, to pan a map). You can press or release Shift during the drag.
The buttons under the screen and the panel on the right cover the rest: Home, rotate, light and dark appearance, screenshots, installing an app (up to 1 GiB), opening a URL, and the clipboard.
Keep or give back the session
The viewer and the CLI each keep the session. It returns to your team only after you give it back in both. See Give a session back.
- Release gives the session back from the viewer. Confirm with Release machine. If the CLI still uses the session, the simulators keep running. If not, the simulators shut down and Argent Cloud erases the simulator host for the next user.
- Log out does not release the session. Click Release first when you are done.
- A tab that stays in the background for more than 15 minutes stops keeping the session.
Limits
- The viewer does not show logs or record videos. Use
sim-remote logsandsim-remote simctl io <UDID> recordVideo. See Run your app. - The viewer cannot open tunnels. Use the CLI. See Connect to local servers.