# Uses of Class
org.htmlunit.ScriptResult

Packages that use ScriptResult
Package
Description
org.htmlunit
Framework classes (contains the `WebClient` class which is the main entry point).
org.htmlunit.html
Classes specific to HTML pages, particularly the `HtmlPage` which represents an HTML document and provides access to its content.

- ## Uses of ScriptResult in org.htmlunit

  Methods in org.htmlunit with parameters of type ScriptResult
  Modifier and Type
  Method
  Description
  `static boolean`
  ScriptResult.`isFalse(ScriptResult scriptResult)`
  Utility method testing if a script result is `false`.
  `static boolean`
  ScriptResult.`isUndefined(ScriptResult scriptResult)`
  Utility method testing if a script result is undefined (there was no return value).

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

  Methods in org.htmlunit.html that return ScriptResult
  Modifier and Type
  Method
  Description
  `protected ScriptResult`
  DomElement.`doClickFireClickEvent(org.htmlunit.javascript.host.event.Event event)`
  This method implements the control onclick handler call during the click action.
  `ScriptResult`
  HtmlPage.`executeJavaScript(String sourceCode)`
  Executes the specified JavaScript code within the page.
  `ScriptResult`
  HtmlPage.`executeJavaScript(String sourceCode, String sourceName, int startLine)`
  INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
  `ScriptResult`
  HtmlPage.`executeJavaScriptFunction(Object function, Object thisObject, Object[] args, DomNode htmlElementScope)`
  INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
  Execute a Function in the given context.
  `ScriptResult`
  DomElement.`fireEvent(String eventType)`
  INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
  Shortcut for `DomElement.fireEvent(Event)`.
  `ScriptResult`
  DomElement.`fireEvent(org.htmlunit.javascript.host.event.Event event)`
  INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
  Fires the event on the element.
  `ScriptResult`
  HtmlImage.`fireEvent(org.htmlunit.javascript.host.event.Event event)`
  INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
  Fires the event on the element.