title - web automation property
Retrieves the title of the HTML document that is displayed in the header bar of the web page window.
Applies to:
- Browser
var t = browserObj.title;
Arguments:
- None.
Remarks:
-
In case of failure this property throws a script exception and the lastError property of the Core object is set to FAIL_ERROR or BROWSER_CONNECTION_LOST_ERROR.
Example:
var coreObj = new ActiveXObject("Twebst.Core");
var newBrowser = coreObj.StartBrowser("http://www.codecentrix.com/");
newBrowser.WaitToLoad();
WScript.Echo(newBrowser.title);
See also:
- Browser | StartBrowser | StartHiddenBrowser | url
©
2014 CodeCentrix Software. All rights reserved.