Site Loader
Auckland, New Zealand
In this part we will reference Selenium libraries to our Visual Studio project. There are two ways to do this,
  • Downloading Selenium libraries from www.seleniumhq.org
  • Downloading via Nuget Package manager.
In this post we will focus on the second case, by downloading selenium via Nuget Package manager

Please find below the complete video of the above discussion Thanks for reading the post and watching the video!!! Please leave your comments and let me know if there is anything need to be improved in the post !!! Thanks, Karthik KK

Post Author: Karthik kk

10 Replies to “Referencing Selenium C# in Visual Studio”

  1. I am getting an error as ‘Failed to add the reference to ‘WebDriver” while installing Selenium WebDriver via Nuget Package manager. Am I missing anything? Please suggest.

  2. Hi Karthik,

    I am very new to automation when i add the reference for both webdriver and chrome driver i get the An unhandled exception of type ‘System.InvalidOperationException’ occurred in WebDriver.dll please suggest

  3. Hi Im a beginner and studying Selenium C# from scratch, on this topic, what does it mean to ‘reference’ or I should say why do we need to reference / what was it important role?
    Thanks!

  4. Hi Karthik,

    In order to develop selenium tests using C# on a mac system, what I need to install?

    a. I need to install visual studio community version 2015 from visualstudio.com for mac (iOS)
    or,
    b. I need to install virtual machine (parallel) to run visual studio in it
    or,
    c. Using Monaco editor

    I am confused and will highly appreciate your response.

  5. Hi, I downloaded the VS Ultimate 2013 Edition and I am getting below Error:-
    “The remote name could not be resolved: ‘api.nuget.org'”. Even i tried adding the Package through Tools Options and below Package is already added in Source
    https://www.nuget.org/api/v2
    Tell me how to get rid of this Error, I am unable to download any packages like Selenium,SpecFlow etc.

  6. Hi sir,
    How to create testing project which template i need to choose, you didnt mention this thing please tell me that.
    Thank you

Leave a Reply

Your email address will not be published. Required fields are marked *