How to get a full page screenshot with C# NUnit?

How to get a full page screenshot with C# NUnit?

Hey Toby,

To get a full page screenshot with C# NUnit, you can add the sample code below:

  var driver = new ChromeDriver();
  driver.Navigate().GoToUrl("http://www.example.com");
  Screenshot screenshot = (driver as ITakesScreenshot).GetScreenshot();
  screenshot.SaveAsFile("screenshot.png", ScreenshotImageFormat.Png); // Format values are Bmp, Gif, Jpeg, Png, Tiff