Let an agent discover a messy web UI flow once, then export the exact tool commands as a deterministic bash script.