After a lot of research and many tries, I wanted to know how it was possible to work with Selenium AND proxy with username/password in C#, with an headless solution (so no AutoIT script alternative).
For Chrome : -There is no options and arguments available, an authenticate window will always pop up asking for the credentials, there is apparently noway to bypass it, and the only solution would be to use an external tool to write in the window. This solution is obviously not compatible with an headless. I tried to downgrade my Selenium version to the 2.53.0 in order to test the solution with the Alert handling, but it appears that now, Chrome browser doesn't treat that windows as an alert anymore. I could maybe downgrade also my Chrome browser version, but I don't want that for now.
For FireFox : -Exactly same problem.
For IE : -The proxy is set in the registry, so I don't even know how to run manually multiple instance with different proxy.
So, my question is, how, in C#, within an HEADLESS Selenium browser (I don't mind which one), I can run a session with a proxy user/pw (without any manual of course, and if possible without any third party program, but only within Selenium) ?