Hi,
While opening "http://www.makemytrip.com/" through selenium I am getting one pop up window which has "X" link to close.But while taking the x-path of "X" link I am seeing everytime div[] number is getting changed.So x path is not working out.I even tried with other properties.But it is not working.Is there any generic code for closing the pop-ups.Attaching the file screenshot and also the link structure.