Walk me through how you would build an automation framework from scratch for a newly developed web application.