Access Keys:
Skip to content (Access Key - 0)
Log in (Access Key - 5)



Toggle Sidebar

assignId-action-selcore

@since Molybenum 0.7.1 (Selenium Core 0.8.3)

API Doc

assignId (locator, identifier)

(inherited from Selenium Core)

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.
Arguments:

  • locator -
    an element locator pointing to an element
  • identifier -
    a string to be used as the ID of the specified element
last edited on Dec 05, 2008 13:49
Adaptavist Theme Builder Powered by Atlassian Confluence