Skip to main content

Screenshot & Video recording

RPA is often used to automate tasks that involve working with Excel spreadsheets, because Excel is a widely used tool for data analysis, management, and reporting. By using RPA to automate Excel tasks, organizations can save time, reduce errors, and increase efficiency in their processes.

StartRecord​

This method allows users to record video during robot's execution.

Parameters

  • options - Dictionary<string, object> = Options for recording video. Etc = videopath
How to use
OpenBrowser(null, null);
maximize()
Visit("https://www.google.com");
StartRecord({ videopath: "c:\\recordFolder" });

StopRecord​

This method allows users to stop video recording.

How to use
OpenBrowser(null, null);
maximize()
Visit("https://www.google.com");
StartRecord({ videopath: "c:\\recordFolder" });
wait(15);
StopRecord();

AddScreenShot​

This method allows users to take screenshot

Parameters

  • page - object = Puppeteer page instance
  • options - Dictionary<string, object> = Options for taking screenshot. Etc = screenshotpath
  • fileName - string = File name of the screenshot.
How to use
Pupet.OpenBrowser({ headless: false, browser: "Chrome" });
var visitResponse = Pupet.Visit("https://www.erametric.com/tr/anasayfa-2/");
var activePage = visitResponse.page;
wait(2);
Pupet.ClickWithWait(activePage, '[href="https://www.erametric.com/tr/hakkimizda/"]', null, Pupet.WaitOptionForTry(1000));
Pupet.AddScreenShot(activePage, { screenshotpath: "c:\\recordFolder" });
Pupet.Click(activePage, " #slider-8-slide-25-layer-4");