Validate a Playwright or k6 script using the same server-side rules as the Playground and CLI preflight checks.
Test script content to validate
Optional expected test type used for script/type compatibility checks
Script is valid