How to add Selenium NuGet packages in Visual Studio


Open Visual Studio



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


Select Manage Nuget Packages…



Install the Selenium Webdriver


Install  Selenium Webdriver Support Classess too


You will notice both the packages installed under references



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: Logo

You are commenting using your 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