pub fn play_with_delay(yaml: &str, step_delay_secs: f64) -> Result<(), String>Expand description
Play with an artificial pause (seconds) between each step — a slow-motion replay for watching a
script drive the UI. Returns Err WITHOUT spawning when the script is empty or does not parse,
so a UI can call it to validate (see is_playable) and to run from one path.