An NDoc Documented Class Library

ISelenium.AssignId Method 

Temporarily sets the "id" attribute of the specified element, so you can locate it in the future using its ID rather than a slow/complicated XPath. This ID will disappear once the page is reloaded.

void AssignId(
   string locator,
   string identifier
);

Parameters

locator
an element locator pointing to an element
identifier
a string to be used as the ID of the specified element

See Also

ISelenium Interface | Selenium Namespace