


I suggest to use latest Chrome browser and corresponding ChromeDriver. Also, the ChromeDriver major version has to match with your Chrome browser version. To interact with the Chrome Browser, you should have latest ChromeDriver on your system and it should be discoverable by WebDriver. This will redirect you to the following page. To install it from VS marketplace, click the link here. To create a Java project, write code and run the code, we need to install Java extension Pack to the Visual Studio.

We need to follow a few more steps to get the Selenium/WebDriver code running on the VS Code. However, to run the java program, we need to import certain libraries. Setting up selenium on Visual Studio is similar to setting up on Eclipse editor.
