c# Selenium while is System.Threading.Thread.Sleep(TimeSpan.FromMinutes(5)); code example
Example: c# Sleep
using System.Threading;
static void Main()
{
//do stuff
Thread.Sleep(5000) //will sleep for 5 sec
}
using System.Threading;
static void Main()
{
//do stuff
Thread.Sleep(5000) //will sleep for 5 sec
}