Uses of Class
org.htmlunit.ScriptResult
Packages that use ScriptResult
Package
Description
Framework classes (contains the
WebClient
class which is the main entry point).Classes specific to HTML pages, particularly the
HtmlPage
which represents
an HTML document and provides access to its content.Implementations of the JavaScript host objects for events - users of HtmlUnit shouldn't
need anything in this package.
-
Uses of ScriptResult in org.htmlunit
Methods in org.htmlunit with parameters of type ScriptResultModifier and TypeMethodDescriptionstatic boolean
ScriptResult.isFalse
(ScriptResult scriptResult) Utility method testing if a script result isfalse
.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 ScriptResultModifier and TypeMethodDescriptionprotected ScriptResult
DomElement.doClickFireClickEvent
(Event event) This method implements the control onclick handler call during the click action.HtmlPage.executeJavaScript
(String sourceCode) Executes the specified JavaScript code within the page.HtmlPage.executeJavaScript
(String sourceCode, String sourceName, int startLine) INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.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.private ScriptResult
HtmlPage.executeJavaScriptFunction
(org.htmlunit.corejs.javascript.Function function, org.htmlunit.corejs.javascript.Scriptable thisObject, Object[] args, DomNode htmlElementScope) INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Shortcut forDomElement.fireEvent(Event)
.INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Fires the event on the element.INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Fires the event on the element. -
Uses of ScriptResult in org.htmlunit.javascript.host.event
Methods in org.htmlunit.javascript.host.event that return ScriptResultModifier and TypeMethodDescriptionFires the event on the node with capturing and bubbling phase.Methods in org.htmlunit.javascript.host.event with parameters of type ScriptResultModifier and TypeMethodDescriptionboolean
Event.isAborted
(ScriptResult result) Returnstrue
if this event has been aborted viapreventDefault()
in standards-compliant browsers.