getHostApp method

Class: TestResultsPlatform: PuppeteerLanguage: JavaScript SDK:

Use this method to retrieve the host application (browser) property of the test.

Syntax

let value = result.getHostApp();
value = result.hostApp;

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

Parameters

This method does not take any parameters.

Return value

Type: string
The name of the host application