PageTitle Property (.NET)

 

Type: String

 

This property tells BrowserHawk what text to insert in between the <TITLE> tags used by the test page it loads when detecting the extended properties. For example, if you set this property to "Please wait…" then that message will display in the browser's title bar as the page executes. This property is typically used in conjunction with the PageMessage property.

 

C# Example:

<%

ExtendedOptions options = new ExtendedOptions();

options.AddProperties("JavaScriptEnabled");

options.PageMessage = "&nbsp;<font color=blue>Please wait…</font>";

options.PageTitle = "Testing browser, please wait…"; // this text goes in the browser title bar

ExtendedBrowserObj extBrow = BrowserObj.GetExtendedBrowser(options);

%>

<html>

JavaScriptEnabled: <% Response.Write(extBrow.JavaScriptEnabled); %>

</html>

 

See Also:

BodyTag Property (.NET)

PageMessage Property (.NET)