Zillow interview question

How will you maintain automation scripts when the application is changing dynamically