# Uses of Interface
org.htmlunit.html.ScriptElement

Packages that use ScriptElement
Package
Description
org.htmlunit.html
Classes specific to HTML pages, particularly the `HtmlPage` which represents an HTML document and provides access to its content.

- ## Uses of ScriptElement in org.htmlunit.html

  Classes in org.htmlunit.html that implement ScriptElement
  Modifier and Type
  Class
  Description
  `class`
  `HtmlScript`
  Wrapper for the HTML element "script".
  When a script tag references an external script (with attribute src) it gets executed when the node is added to the DOM tree.
  Methods in org.htmlunit.html with parameters of type ScriptElement
  Modifier and Type
  Method
  Description
  `static void`
  ScriptElementSupport.`executeScriptIfNeeded(ScriptElement script, boolean ignoreAttachedToPage, boolean ignorePageIsAncestor)`
  INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
  Executes this script node if necessary and/or possible.
  `static void`
  ScriptElementSupport.`onAllChildrenAddedToPage(ScriptElement script, boolean postponed)`
  Support method that is called from the (html or svg) script and the link tag.