before_render_screenshot_hook method

Class: SeleniumCheckSettingsPlatform: Selenium 3Language: Python 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().before_render_screenshot_hook(hook))

Parameters

hook
Type:Text
A string with legal JavaScript code.

Return value

Type: SeleniumCheckSettings