OtherScreenshotOptionsScreenshotOptions.omitBackgroundVersion: 19.2.2On this pageScreenshotOptions.omitBackground propertyHides default white background and allows capturing screenshots with transparency.Signature:interface ScreenshotOptions { omitBackground?: boolean;}Default value:false