Control of browser windows with Selenium

1

I'm automating an operation on a particular site and at a certain point I need to download it, I can authorize the download by clicking on the link but after that I lose control because a Firefox window opens asking if I want to Open or save the file, how can I automate this operation? With Selenium or with your own C #?

    
asked by anonymous 20.08.2015 / 21:51

1 answer

3

You can use the AutoIT tool.

link

Usually used in conjunction with automators in another language to perform functions within the system, wave the tool does not reach (in this case, Selenium). I've already used the two together in a project for it to automatically save a download in IE9. And then I did not even need to know the language because I found the code on the internet. source of what I wanted. I just downloaded, compiled, converted to executable and when I needed it I called the executable. Hugs.

    
24.07.2016 / 02:06