Is it possible to setup Selenium Webdriver with Visual Studio in C#?

0 votes
Is it possible to setup Selenium Webdriver with Visual Studio in C#?
Jun 10 in Selenium by Naushin
284 views

1 answer to this question.

+1 vote
Best answer

Hey Naushin, yes it is possible to setup Selenium webdriver with Visual Studio in C#. You can follow these steps to install and setup Selenium with C#:

  1. Launch Visual Studio. Start->Visual Studio ->click.Click on File-> New -> Project.

  2. Add Console.WriteLine(“This is Selenium C# test case!!”) to the program.cs file created in above step:

  3. Navigate to Tools-> NuGet Package Manager-> Manager NuGet Packages for Solution:

  4. Select Browse tab and enter Selenium in search field. Selenium latest Selenium.WebDriver would be visible. Now select the project created and click on Install:

  5. Once WebDriver is installed. We should get following message:

answered Jun 10 by Anvi
• 13,960 points

selected Jun 20 by Abha

Related Questions In Selenium

+1 vote
2 answers
0 votes
1 answer

How to install C#

Hi @Akanksha, C# is a programming language ...READ MORE

answered Feb 28 in Others by Pratibha
• 3,680 points
50 views
0 votes
1 answer
+1 vote
2 answers

RPA C# - Process developments in C #

Hey Conell, you can use Visual Studio's ...READ MORE

answered May 24 in RPA by Abha
• 27,180 points
139 views
0 votes
1 answer

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,110 points
1,017 views
0 votes
1 answer
0 votes
1 answer

Is it possible to do Database testing by using Selenium Webdriver?

Hey Kanika, Selenium Webdriver is limited to Testing Browser ...READ MORE

answered May 15 in Selenium by Anvi
• 13,960 points
72 views