BrowserChild class is the class for the window that contains the contents of the Web page. If the window is divided into frames, each frame window also has the class BrowserChild.
The default tag is the caption of the page, which is the text that appears in the title bar for the page. The window ID of a Web page, which is the top-level BrowserChild, is its URL; and the window ID of a browser frame, which is a lower-level BrowserChild, is its name, which is the value of the NAME attribute, if there is one.
In addition to the properties it inherits from the AnyWin class, BrowserChild has the following properties:
Use the GetProperty method to access these properties, such as in the following example which uses the home page of the GMO Web application:
STRING sCaption, sLocation sCaption = GMO.GetProperty ("$Caption") sLocation = GMO.GetProperty ("$Location") Print ("Caption: {sCaption}") Print ("Location: {sLocation}") // Result: // Caption: Welcome to Green Mountain Outpost // Location: http://www.borland.com/downloads[...]
For more information, see Properties.