5

Goto EDGE > setting and scroll down: Here note the edge html version , that is the version for which we have to download the driver for. The below command (for downloading webdriver for edge html version 18) , ref: https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/ DISM.exe /Online /Add-Capability /CapabilityName:Microsoft.WebDriver~~...


2

Verify that driver is in PATH: just open cmd and type the driver name, This is the tested code for Edge legacy: const {Builder, By, Key, until} = require('selenium-webdriver'); (async function example() { let driver = await new Builder().forBrowser('MicrosoftEdge').build(); try { await driver.get('http://www.google.com/ncr'); await driver....


Only top voted, non community-wiki answers of a minimum length are eligible