Infosys interview question

how do u handle pop ups in selenium