EasyEcom interview question

How do you handle dynamic elements in Selenium?