Hi All,
I want to handle / close all advertisement popup. For example,
when we hit
http://www.naukri.com , we will get 2 or 3 ad popup. I want to handle those popups using selenium rc.
Since all ads are dynamic and differ in every request, I cant give static title or name.
selenium.waitForPageToLoad("90000");
nWin=selenium.getAllWindowTitles();
System.out.println(nWin.length);
for (int i = 0; i < nWin.length; i++) {
System.out.println(nWin[i]);
}
When I use above , it is recognise only parent window and ad popup is not recognised.
Can you please help me...
Thanks & Regards,
M.Marimuthu