/Selenium-C-Sharp-Example

Example code for using Selenium with Visual Studio, C#, dotnet core, & MSTest

Primary LanguageC#

Selenium C# Example

This is a basic example of using Selenium in Visual Studio with C# DotNetCore and MSTest.

This uses the following Nuget packages:

GoogleSearchExample.cs contains code for starting a Chrome browser, navigating to google.com, executing a search for 'Selenium HQ' & asserting some values from the results page (see comments).

For more information please see my blog post here: https://blankstechblog.com/2019/05/23/cross-platform-selenium-with-dotnet-core/