getHostOS method

Class: TestResultsPlatform: ProtractorLanguage: JavaScript SDK:

Use this method to retrieve the host OS property of the test.


let value = result.getHostOS();
value = result.hostOS;

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


This method does not take any parameters.

Return value

Type: string
The Host OS.