beforeRenderScreenshotHook method

Class: SeleniumCheckSettingsPlatform: Selenium 4Language: 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(hook))

Parameters

hook
Type:String
A string with legal JavaScript code.

Return value

Type: <a class ='link' href='/Content/api/eyes-sdk/index-gen/class-checksettings-selenium4-javascript.htm'>SeleniumCheckSettings</a>