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
1,359 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,170 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
24,433 views
0 votes
1 answer
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
266 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,170 points
5,256 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
• 28,120 points
907 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 16, 2019 in Selenium by Anvi
• 14,170 points
306 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP