code: @Override
      public void startVideoCapture(String screenName) throws IOException, AWTException {
          logger.debug("startVideoCapture with the scenario named [{}]", screenName);
          File file = new File(System.getProperty(USER_DIR) + File.separator + DOWNLOADED_FILES_FOLDER);
          Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
          Rectangle captureSize = new Rectangle(0, 0, screenSize.width, screenSize.height);
          GraphicsConfiguration gc = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getDefaultConfiguration();
          this.screenRecorder = new NoraUiScreenRecorder(gc, captureSize, new Format(MediaTypeKey, MediaType.FILE, MimeTypeKey, MIME_AVI),
                  new Format(MediaTypeKey, MediaType.VIDEO, EncodingKey, ENCODING_AVI_TECHSMITH_SCREEN_CAPTURE, CompressorNameKey, ENCODING_AVI_TECHSMITH_SCREEN_CAPTURE, DepthKey, 24, FrameRateKey,
                          Rational.valueOf(15), QualityKey, 1.0f, KeyFrameIntervalKey, 15 * 60),
                  new Format(MediaTypeKey, MediaType.VIDEO, EncodingKey, "black", FrameRateKey, Rational.valueOf(30)), null, file, screenName);
          this.screenRecorder.start();
  
      }
docs: {@inheritDoc}