Zillow Interview Question

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