 | WebElementGetOrCreateId Method |
Returns a unique 'id' attribute for this WebElement.
If an id is set, the original value is returned, otherwise the WebElement is assigned a new random id.
Use this method to pass elements by id to Javascript code.
Namespace:
Ranorex
Assembly:
Ranorex.Plugin.Web (in Ranorex.Plugin.Web.dll) Version: 12.7.4-git.38314c06
Syntaxpublic string GetOrCreateId()
Public Function GetOrCreateId As String
Return Value
Type:
StringThe unique 'id' of this WebElement.
See Also