The keystone start command launches a local runner that can execute tests on your machine, providing full visibility into test execution and powerful debugging capabilities.
# Terminal 1: Start your appnpm run dev# App running on http://localhost:3000# Terminal 2: Start Keystone runnerkeystone start --proxy --debug# Runner ready on ws://localhost:9223# Browser: Use Keystone Studio# Record tests against http://localhost:3000# Tests execute in real-time with full visibility
# Test against local developmentexport APP_URL="http://localhost:3000"keystone start --proxy# Test against stagingexport APP_URL="https://staging.example.com"keystone start --proxy# Test against review appsexport APP_URL="https://pr-123.preview.example.com"keystone start --proxy
# Start test sessionPOST http://localhost:9223/session/test-session-id{ "test": {...}, "environment": {...}}# Session provides WebSocket for real-time communication