GetRealBrowser Function

Class

GetRealBrowser is declared for the browser window.

Action

Returns the window identifier of the browser-specific declaration; uses the current browser type.

Availability

This functionality is supported only if you are using the Classic Agent. For additional information, refer to the Silk Test Classic Classic Agent Help.

Syntax

window = browser.GetRealBrowser ( )
Variable Description
window The window identifier. WINDOW.

Example

WINDOW myWin
myWin = Browser.GetRealBrowser ()
Print (myWin)

// Result if Windows Internet Explorer is currently being used:
// Explorer