1

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?

2 Answers 2

0

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);
0

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.