getIsOpen method

Class: EyesPlatform: PlaywrightLanguage: JavaScript SDK:

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


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

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


This method does not take any parameters.

Return value

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