Completed the Webdriver way of handling OS dependent Popup handling using Robot class