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.
Returns a string containing a specific element’s outerHTML content.
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 retVal = DiagnosticsDom.getElementOuterHTML(element);
Parameters
element [in]
Type: ElementThe element to get the outerHTML.
Return value
Type: DOMString
String containing outerHTML content.