Eyes method

Class: EyesPlatform: ProtractorLanguage: JavaScript SDK:

This is the constructor for the Eyes class.

This is the main class used for executing checkpoints using Eyes.


let eyes = new Eyes(runner);

let eyes = new Eyes();


Type:EyesRunner [Optional ]
If this parameter is provided, it must be an instance of either the ClassicRunner or VisualGridRunner classes. If a VisualGridRunner is passed then the image will be rendered using the Ultrafast Grid. If this parameter is not provided, then DOM rendering is done using the local browser defined by the driver parameter passed to the Eyes.open method.

Return value

Type: Eyes
Use the object returned to call the various methods provided by the Eyes class.