beforeRenderScreenshotHook method

Class: CheckSettingsPlatform: NightwatchLanguage: JavaScript SDK:

Use this to supply a JavaScript snippet that should be executed on the Ultrafast Grid before the DOM is rendered.

Syntax

eyes.check(Target.window().beforeRenderScreenshotHook(script));

Parameters

script
Type:string
A string with legal JavaScript code.

Return value

Type: CheckSettings