Run tests on remote machines by deploying runners that connect back to your Lastest server via HTTP polling.

How it works: The Lastest server queues test commands into SQLite (runner_commands table). Remote runners poll POST /api/ws/runner every 3-5 seconds, claim pending commands, execute them with Playwright, and upload screenshots + results back over the same channel. Authentication uses Bearer tokens (SHA256 hashed in DB).
Install and run on your target machine:
:::bash
npm install -g @lastest/runner
lastest-runner start -t YOUR_TOKEN -s https://your-lastest-server
lastest-runner run -t YOUR_TOKEN -s https://your-lastest-server
lastest-runner start -t <token> -s <server-url> # Start as background daemon
lastest-runner stop # Stop the daemon
lastest-runner status # Show runner status
lastest-runner log [-f] [-n <lines>] # View logs (-f to follow)
lastest-runner run -t <token> -s <server-url> # Run in foreground
| Capability | Description |
|---|---|
| Run | Execute tests remotely |
| Record | Record new tests on remote machines |
| Parallel | Configurable max parallel tests per runner |
| System Info | Automatic OS, architecture, memory, and CPU reporting |
Runner config is stored in ~/.lastest/:
runner.pid -- daemon process IDrunner.log -- runner log filerunner.config.json -- saved configurationIn the Lastest UI (Settings > Runners, admin only):