Infosys Interview Question

How do handle dynamic elements?