Search code examples
c#seleniuminternet-explorer

Using selenium C#, How can I download Files in IE11?


I am trying to download files in IE11 for an automated test. My scripts are written using selenium in C#. So, I have search a lot but all the answers that I see that might work are on java or directed to Firefox (which makes no sense).

So I have tried to remove the save prompt from IE11 but I found not luck in that And I can't find and alternative to Robot for C#


Solution

  • I end up using System.Windows.Forms.SendKeys.SendWait("%S"); after the popup appears