/automate-csharp-samples

Sample nunit, Galio code for running selenium with BrowserStack Automate

Primary LanguageC#

automate-csharp-samples

Documentation for writing Automate test scripts in C#

Install selenium driver for .net

Setup your IDE to write selenium tests

Visual Studio:

  • In order to write selenium test in visual studio, create a new "Console Application" in visual studio. File→New Project→Visual c#→Console Application.
  • Then the selenium libraries are needed to be imported through "Solution Explorer" pane. Right click on References, browse through C:\selenium-dotnet\selenium-dotnet-2.33.0\net40 and import the libraries.

For C# frameworks integration with BrowserStack, refer to their individual repositories -