ScreenshotParameters

[ Interface ]

export interface ScreenshotParameters {
    path: string;
    fileName: string;
    querySelectorAll: string;
    selectorIndex?: number
}

Properties

Name

Type

Description

path

string

Path where the screenshot(s) should be saved.

fileName

string

Name of the screenshot

querySelectorAll

string

QuerySelector of the elements of which a screenshot is to be created.

selectorIndex

number, undefined

Index of the element in the QuerySelector list from which the screenshot is to be created. With "undefined", a screenshot is taken of all elements.

ScreenshotParameters 1:

Available from version 1.14.3.500