
Hi @Ashish Mahajan ,
What is the selenium and edge version you're using?
The EdgeDriver method in C# requires a valid Microsoft Edge WebDriver to communicate with the browser.
First, install the latest C# Selenium WebDriver from here.
Second, download the matching version of Microsoft Edge Driver from this page.
If the problem persists, could you please share us more details (such as error code or error message)?
Update:
Where is the download path you specified?
After the download matching version of Microsoft Edge Driver, extract the msedgedriver
executable to your preferred location. Add the folder where the executable is located to your PATH
environment variable.
You could refer to this doc.
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,
Wenying Lu