Skip to content

API Reference / @gtkx/testing / ScreenshotOptions

Type Alias: ScreenshotOptions

ScreenshotOptions = Pick<WaitForOptions, "timeout" | "interval"> & object

Defined in: types.d.ts:107

Options for capturing a screenshot: the poll timeout and interval, plus a rendering scale factor.

Type Declaration

scale?

optional scale?: number

Device scale factor applied when rendering.

Released under the MPL-2.0 License.