For automating a download popup in Firefox, we use Firefox Profile and for other browsers I've used AutoIt. Is there any other way to work around it in windows? And coming to the main question, I've recently shifted to Ubuntu. So is there some sort of script or tool I can run to automate download popups in other browsers?
You can use java ROBOT class, to handle window. Following code may help you.
Robot robot = new Robot(); robot.keyPress(KeyEvent.VK_ENTER); robot.keyRelease(KeyEvent.VK_ENTER);
This link has a comprehensive list of solutions on downloading files using Selenium. I suppose most of them are Windows based solutions.
I recently saw this link where there was a discussion regarding handling Ubuntu's file dialog. Although reading through the link I'm not sure if any solution was ever reached.