title: How to automate Microsoft Edge using PowerShell
body: <p>Since IE11 is retiring soon, I was attempting to re-write my PS Scripts to automate MS Edge. I have searched online and apparently I need <a href="https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/" rel="nofollow noreferrer">edgedriver_win64</a> and a WebDriver testing framework like <a href="https://www.nuget.org/packages/Selenium.WebDriver" rel="nofollow noreferrer">Selenium 4</a>. I have either got the links wrong or the logic wrong. But when I tried to install the driver, it just opened a command prompt saying &quot;MSEdgeDriver was started successfully&quot;. Nothing was installed. And I have absolutely no idea of how to install Selenium 4. If someone could help me prep my PC so I can automate using MS Edge via PowerShell, I will be really grateful. Additionally some pointers on how to use these for automation via PowerShell will be big help.</p>