A simple opinionated project template written in C# using .NET to quickly start writing tests using Selenium.
- Zero setup, mostly plug and play
- Cross platform support for both Mac OS and Windows
- Written with Selenium 4 and .NET 7
- Uses Selenium Manager to automatically manage web drivers
- Integrates ExtentReports for custom reporting
- Utilises NUnit to run tests and integrate with Visual Studio
- Provides helper classes and utilities to make writing tests super simple
- Download Visual Studio - any version >10.x should work
- Fork and then Clone this repo to your computer
- Open the
DotNetSeleniumTemplate.sln
solution file in Visual Studio - AND that's it!
- Open the
DotNetSeleniumTemplate.sln
solution file in Visual Studio - Open the Test Explorer in Visual Studio
- Double click the test name you want to run - more info
Currently only the envsettings.json
is copied to the output directory, so modify it to change settings