Example #1
0
        /// <summary>
        /// Save the screenshots in the bmp format
        /// </summary>
        /// <param name="configuration">The configuration</param>
        /// <returns></returns>
        public static SeleniumReportingConfiguration WithScreenshotBmp(this SeleniumReportingConfiguration configuration)
        {
            if (configuration == null)
            {
                throw new ArgumentNullException(nameof(configuration));
            }

            return(configuration.WithScreenshotFormat(ScreenshotFormat.Bmp));
        }