The information in this topic may be out of date. The current SDK reference guide has moved here.
before_render_screenshot_hook method
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