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, 2019 in Selenium by Naushin
470 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, 2019 by Anvi
• 14,010 points

selected Jun 20, 2019 by Abha

Related Questions In Selenium

+1 vote
2 answers

Is it possible to scroll down in a webpage using selenium webdriver programmed on python?

I using next code for facebook for ...READ MORE

answered May 16, 2019 in Selenium by mslavikas@gmail.com
12,060 views
0 votes
1 answer

How to install C#

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

answered Feb 28, 2019 in Others by Pratibha
• 3,690 points
75 views
0 votes
1 answer

How to run C# code on Ubuntu

Hey @Abha, you can create and run ...READ MORE

answered Mar 1, 2019 in Others by Anvi
• 14,010 points
1,014 views
+1 vote
2 answers

RPA C# - Process developments in C #

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

answered May 24, 2019 in RPA by Abha
• 27,760 points
251 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,510 points
1,802 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, 2019 in Selenium by Anvi
• 14,010 points
97 views