How to add Selenium NuGet packages in Visual Studio

 

Open Visual Studio

SeleniumNuget1

 

In Solution explorer on the right, expand “References”

Note: If you do not see solution explorer then click on “View” tab and select the solution explorer view

SeleniumNuget2

Select Manage Nuget Packages…

SeleniumNuget3

 

Install the Selenium Webdriver

SeleniumNuget4

Install  Selenium Webdriver Support Classess too

SeleniumNuget5

You will notice both the packages installed under references

SeleniumNuget6

 

Now to use them add the statement in you test:

using OpenQA.Selenium;

 

 


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s