

Select from the search list and click on the Install button. Hence, we install the Selenium Chrome Driver. For automated browser testing, we make use of the Chrome web browser.Select Selenium.WebDriver from the search list and click on the Install button.Navigate to Tools -> NuGet Package Manager -> Manager NuGet Packages for Solution and search for ‘Selenium.’.Using Visual Studio IDEįor installing Selenium WebDriver using the VS IDE, please perform the following steps: There are two options for installing Selenium WebDriver – using the Visual Studio IDE and using the NuGet Package Manager (PM) Commands. Selenium WebDriver on Visual Studio can be installed using NuGet, a free and open-source package manager that is specifically designed for the Microsoft Platform. As the created project is of type MSTest Test Project (.Net Core), the default C# class comes along with the attributes and in it.īefore running your first script in MSTest, you need to download and set up Selenium WebDriver.Open Visual Studio and create a new project of the type ‘MSTest Test Project (.Net Core).’ Creating a New Project in C#īefore installing Selenium WebDriver, we create a new project in C# by following the below-mentioned steps:

Before we install the Selenium WebDriver, we create a new project in C#. In this Selenium MSTest testing tutorial, we take a look at setting up Selenium WebDriver with Visual Studio in C#. It was a getting started guide with a major focus on the installation of the Selenium MSTest framework and MSTest adapter for the project. In the ongoing "Selenium MSTest testing tutorial" series, we had an earlier look at setting up the MSTest framework in Visual Studio.
