Uses of Class
org.htmlunit.ScriptResult
-
Packages that use ScriptResult Package Description org.htmlunit Framework classes (contains theWebClient
class which is the main entry point).org.htmlunit.html Classes specific to HTML pages, particularly theHtmlPage
which represents an HTML document and provides access to its content.org.htmlunit.javascript.host.event 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 ScriptResult Modifier and Type Method Description static 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 ScriptResult Modifier and Type Method Description protected ScriptResult
DomElement. doClickFireClickEvent(Event event)
This method implements the control onclick handler call during the click action.ScriptResult
HtmlPage. executeJavaScript(java.lang.String sourceCode)
Executes the specified JavaScript code within the page.ScriptResult
HtmlPage. executeJavaScript(java.lang.String sourceCode, java.lang.String sourceName, int startLine)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.ScriptResult
HtmlPage. executeJavaScriptFunction(java.lang.Object function, java.lang.Object thisObject, java.lang.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, java.lang.Object[] args, DomNode htmlElementScope)
ScriptResult
DomElement. fireEvent(java.lang.String eventType)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Shortcut forDomElement.fireEvent(Event)
.ScriptResult
DomElement. fireEvent(Event event)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Fires the event on the element.ScriptResult
HtmlImage. fireEvent(Event event)
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 ScriptResult Modifier and Type Method Description ScriptResult
EventTarget. fireEvent(Event event)
Fires the event on the node with capturing and bubbling phase.Methods in org.htmlunit.javascript.host.event with parameters of type ScriptResult Modifier and Type Method Description boolean
Event. isAborted(ScriptResult result)
Returnstrue
if this event has been aborted viapreventDefault()
in standards-compliant browsers.
-