Gets the location of the page on which the Smartlet is rendered.
Syntax
Smartsite SXML | Copy Code |
---|---|
locator smartlet.page() locator smartlet.page(boolean removeQueryParams) |
Parameters
Name | Data Type | Description |
---|---|---|
removeQueryParams | Boolean | If set totrueremove query parameters. |
Return Value
Data Type | Description |
---|---|
Locator | Locator |