Removes all parameters from the querystring.
Syntax
Smartsite SXML | Copy Code |
---|---|
locator url.removeallparameters(locator location) locator url.removeallparameters(locator location, string[ ] excludeNames) |
Parameters
Name | Data Type | Description |
---|---|---|
location | Locator | The url from which all parameters are removed. |
excludeNames | String[ ] | The querystring names that are not removed. |
Return Value
Data Type | Description |
---|---|
Locator | The url without querystring parameters. |