Adds the given command identifier to the location.

Syntax

Smartsite SXML CopyCode image Copy Code
locator url.commands.add(locator location, string commandIdentifier)
locator url.commands.add(locator location, string commandIdentifier, string name, string value)

Parameters

Name Data Type Description
location Locator The location.
commandIdentifier String The command identifier.
name String The name.
value String The value.

Return Value

Data Type Description
Locator Location

Expand image Example

SXML