Hi @Vikalp Jain ,
- You could directly install the latest Microsoft Edge version (no need to remove/uninstall)
- There is no way to complete the Edge update without restarting the browser, but it is possible to automate the update. You could use WebDriver to automate Microsoft Edge. We usually use C#, Python, Java to automate Edge, if you need to use PowerShell, you can use Selenium PowerShell Module. Please refer to the steps below:
- Run
Install-Module Selenium
in Windows PowerShell. - Download corresponding version of Edge WebDriver from here (same version as your Edge browser).
- Put the Edge WebDriver
msedgedriver.exe
into folderC:\Program Files\WindowsPowerShell\Modules\Selenium\3.0.1\assemblies
(the path is where you install Selenium PowerShell Module, you can change it according to your real situation). - Rename
msedgedriver.exe
toMicrosoftWebDriver.exe
. - Sample PowerShell code:
$Driver = Start-SeEdge
Enter-SeUrl edge://settings/help -Driver $Driver
Hope it helps.
- Run
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best Regards,
Raina Zhao