Selenium WebDriver provides .NET bindings to develop Selenium tests with the .NET platform. To use the Selenium WebDriver API along with .NET, you need to refer the Selenium WebDriver libraries to the project. Microsoft Visual Studio being the major IDE used in the .NET world, setting up the Selenium WebDriver support has become easier with NuGet Package Manager (http://nuget.org/).
This recipe explains the process of setting up Selenium WebDriver in Microsoft Visual Studio 2013 using NuGet.
NuGet comes bundled with Microsoft Visual Studio 2012 onwards. However, for Microsoft Visual Studio 2010, you will need to download and install NuGet from http://nuget.codeplex.com.
Let's configure Microsoft Visual Studio 2013 to develop Selenium WebDriver tests using the following steps:
WebDriver
package. The search will result in the suggestions shown in the following screenshot:SeleniumCookbook
project is ready for test development. You can go on adding new tests as needed.NuGet Package Manager adds the external dependencies to Microsoft Visual Studio projects. It lists all available packages and automatically downloads and configures packages to the project. It also installs dependencies for the selected packages automatically. This saves a lot of effort in configuring the projects initially.
3.14.252.56