Uses of Class
org.htmlunit.ScriptResult
-
Packages that use ScriptResult Package Description org.htmlunit Framework classes (contains theWebClientclass which is the main entry point).org.htmlunit.html Classes specific to HTML pages, particularly theHtmlPagewhich 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 booleanScriptResult. isFalse(ScriptResult scriptResult)Utility method testing if a script result isfalse.static booleanScriptResult. 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 ScriptResultDomElement. doClickFireClickEvent(Event event)This method implements the control onclick handler call during the click action.ScriptResultHtmlPage. executeJavaScript(java.lang.String sourceCode)Executes the specified JavaScript code within the page.ScriptResultHtmlPage. executeJavaScript(java.lang.String sourceCode, java.lang.String sourceName, int startLine)INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.ScriptResultHtmlPage. 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 ScriptResultHtmlPage. executeJavaScriptFunction(org.htmlunit.corejs.javascript.Function function, org.htmlunit.corejs.javascript.Scriptable thisObject, java.lang.Object[] args, DomNode htmlElementScope)ScriptResultDomElement. fireEvent(java.lang.String eventType)INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Shortcut forDomElement.fireEvent(Event).ScriptResultDomElement. fireEvent(Event event)INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Fires the event on the element.ScriptResultHtmlImage. 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 ScriptResultEventTarget. 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 booleanEvent. isAborted(ScriptResult result)Returnstrueif this event has been aborted viapreventDefault()in standards-compliant browsers.
-