Walk me through how you would design an automation framework for a newly developed web application from the ground up.