Capture video for a test case after running | Selenium C# Forum
SYED MOHAMMAD SHARIF Posted on 15/07/2019

Hi Team,


Can u send the code to capture a video for a test case in selenium c#.

Franz Kriesten Replied on 16/07/2019

public void Videorecording()


   ScreenCaptureJob scj = new ScreenCaptureJob();

   scj.OutputScreenCaptureFileName = @"D:\Selenium\Test.avi";


   IWebDriver diver = new FirefoxDriver();

   driver.Url = "";






Hopefully this code is helpfull.

gunjan Replied on 16/07/2019

Is it working now?