selenium webdriver with c#


  • I have to learn to use selenium webdriver with c# for my new project. But i cant find resources for that in c# while there are plenty in java.

    Where can i find tutorial with c# as the coding language?



    Monday, July 11, 2011 8:29 AM

All replies

  • Hi - you could try this HelloWorld: (scroll to the C# console app)


    By the way are you wanting to use Grid to run browsers on different machines? I am trying to do a similar excercise at work. I have been trying with Selenium RC/Grid and hit problems.

    Wednesday, July 20, 2011 8:03 PM
  • I've been unable to get that Selenium HQ example working.  The driver looses the window handle after the driver.Navigate() call and therefore the next FindElement(...) call throws an exception.

    Still looking for useful webdriver tutorials.

    Wednesday, October 17, 2012 5:56 PM
  • Hi, take a look at



    The opinions expressed here are completely my own. I also blog on

    Tuesday, November 20, 2012 3:29 AM
  • John Sonmez' "Automated Web Testing with Selenium" course on

    It's all in visual studio c# and goes from basics to advanced features in clear and easy-to-follow steps.

    Good luck

    Monday, April 29, 2013 2:13 PM
  • Yes, I have just done that course myself. Of course, you do need to have a Pluralsight subscription to do it!


    Saturday, May 04, 2013 2:23 PM
  • You can buy the book at below url

    Friday, March 07, 2014 7:21 AM
  • I found Mr. Salunke's book amateur, poorly written, and quite limited. It's a skimpy 96 pages of large font for $27. More importantly, it's badly written and hard to follow. Give this book  a pass.
    Saturday, August 16, 2014 8:03 PM