set_host_os method

Class: ConfigurationPlatform: Selenium 3Language: Python SDK:

Use this method to set 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. When running without the Ultrafast Grid, by default, Eyes uses the Operating System on which the test executes. When running a test using the Ultrafast Grid, the operating system depends on the browser configuration. The Test Manager displays this value as the OS column.


configval = config.set_host_os(host_os)
config.host_os  = configval
configval = config.host_os

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


The value to be used for the Host OS Property.

Return value

Type: Self
The value returned is the object that called the method. This allows you to use a fluent style to call the setXXXX methods of the Configuration class.