DefaultSelenium AssignId Method WebDriver
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.

Namespace: Selenium
Assembly: ThoughtWorks.Selenium.Core (in ThoughtWorks.Selenium.Core.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax

public void AssignId(
	string locator,
	string identifier
)

Implements

ISelenium AssignId(String, String)
See Also