Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets an element based on its unique id.
Note These APIs can only be used with F12 developer tools and the Diagnostics Script Engine, and can't be called from JavaScript.
![]() |
Syntax
var oElement = DiagnosticsDom.getElementByUniqueId(id);
Parameters
id [in]
Type: DOMStringUniqueID for an element
Return value
Type: Element
Element that matches the id.