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.-
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
(org.htmlunit.javascript.host.event.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.INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Shortcut forDomElement.fireEvent(Event)
.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.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.