Skip to main content
Version: Next

WA Get page title

WA Get page title ( {* ;} object ) : Text

ParameterTypeDescription
*OperatorIf specified, object is an object name (string) If omitted, object is a variable
objectanyObject name (if * is specified) or Variable (if * is omitted)
Function resultTextTitle of current page

This command is not thread-safe, it cannot be used in preemptive code.

Description

The WA Get page title command returns the title of the current page or the page being displayed in the Web area designated by the * and object parameters. The title corresponds to the HTML "Title" tag.

This command returns an empty string if there is no title available for the current URL.

See also

WA Get page content