getIsOpen method

Class: EyesPlatform: PuppeteerLanguage: JavaScript SDK:

Use this to know if the Eyes instance is currently open.

Syntax

let value = eyes.getIsOpen();
value = eyes.getIsOpen;

Note that this feature is available as both a method and a property.

Parameters

This method does not take any parameters.

Return value

Type: boolean
Return true if the Eyes.open method has been called on an eyes instance, and Eyes.close or Eyes.abort have not yet been called.