how to download Microsoft edge legacy web driver version 18 for windows 10?

Samiksha Agarwal 1 Reputation point

there mentioned if you require 18 version of edge legacy web driver you have to run the below command in cmd.
DISM.exe /Online /Add-Capability /CapabilityName:Microsoft.WebDriver~~~~

But it's not working. so how can I download this.

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,040 questions
{count} votes