To include Selenium in your project, simply download the latest selenium-dotnet zip file from http://docs.seleniumhq.org/download/. If you are using Windows Vista or above, you should unblock the zip file before unzipping it: Right click on the zip file, click “Properties”, click “Unblock” and click “OK”.
Unzip the contents of the zip file, and add a reference to each of the unzipped dlls to your project in Visual Studio.
Step1: Create a new Visual Studio project or open an existing one, select the Solution Explorer and right click and select Add Reference as shown in the image below.

Step2: From the Browse tab in Add Reference locate the Selenium WebDriver Dll's downloaded from Selenium official site of either .net framework 4 or .net framework 3.5 type. Select all the 4 Dll's as illustrated below and press OK.

Step3: After adding the Dll's they can be found under References in Solution Explorer.

Unzip the contents of the zip file, and add a reference to each of the unzipped dlls to your project in Visual Studio.
Step1: Create a new Visual Studio project or open an existing one, select the Solution Explorer and right click and select Add Reference as shown in the image below.
Step2: From the Browse tab in Add Reference locate the Selenium WebDriver Dll's downloaded from Selenium official site of either .net framework 4 or .net framework 3.5 type. Select all the 4 Dll's as illustrated below and press OK.
Step3: After adding the Dll's they can be found under References in Solution Explorer.
No comments:
Post a Comment