private boolean checkIfPopupWindowClosed()
{
for(int i=0;i<10;i++)
{
try{Thread.sleep(1000);}catch(Exception e){}
Set<String> wHandle = driver.getWindowHandles();
if(wHandle.size() < 2)
{
return true;
}
}
return false;
}
Bill
---
--
You received this message because you are subscribed to the Google Groups "webdriver" group.
To post to this group, send email to webd...@googlegroups.com.
To unsubscribe from this group, send email to webdriver+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/webdriver?hl=en.