Infosys interview question

How do handle dynamic elements?