Weasel: Out-of-Domain Generalization for Web Agents via Importance-Diversity Data Selection. Accepted to ICML 2026.