How to get name of the current test / spec / method / scenario etc (based on JS - TestCafe) ?
Hi Macy,
For scenarios, you can refer to the sample code snippet below :
{
driver = new FirefoxDriver();
driver.Url = test_url;
driver.Manage().Window.Maximize();
System.Threading.Thread.Sleep(2000);
}