getHostOS method

Class: ConfigurationPlatform: ImagesLanguage: JavaScript SDK:

Use this method to retrieve the name of the hosting operating system property.

The HostOS, along with the hosting app and viewport size, determines which baseline will be used as the basis for comparing checkpoint images. By default, the hosting OS is undefined. The Test Manager displays this value as the OS column.


let configval = config.getHostOS();


This method does not take any parameters.

Return value

Type: string