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