FilenameGenerator
FilenameGenerator: (options: TaikoScreenshotOptions, ...args: TaikoSearchElement[]) => Promise<string>
Type declaration
-
- (options: TaikoScreenshotOptions, ...args: TaikoSearchElement[]): Promise<string>
-
Parameters
-
options: TaikoScreenshotOptions
-
Rest ...args: TaikoSearchElement[]
Returns Promise<string>
The filename generator function type. Used by ScreenCheckSetup to specify a custom function for screenshot filename generation. See ScreenCheckSetup and ScreenCheck.setup.