
Yes you can whitelist the source but for a multitude of security reasons (from technical to legal) you shouldn't. If Anand had posted an Answer instead of a comment, i would mark that as a Solution as it partially is.ī) In stage and production and when automated on a company server having a program download things is generally a bad idea. I use webdriver-manager in those cases and it works well.

While many answers here are correct, they cannot easily be automated.Ī) Anand Gautams solution does work under certain circumstances: f.e.
