|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ScriptResult | |
|---|---|
| com.gargoylesoftware.htmlunit | Framework classes (contains the WebClient class which is the main entry point). |
| com.gargoylesoftware.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 com.gargoylesoftware.htmlunit |
|---|
| Methods in com.gargoylesoftware.htmlunit that return ScriptResult | |
|---|---|
static ScriptResult |
ScriptResult.combine(ScriptResult newResult,
ScriptResult originalResult,
boolean ie)
Creates and returns a composite ScriptResult based on the two input ScriptResults. |
| Methods in com.gargoylesoftware.htmlunit with parameters of type ScriptResult | |
|---|---|
static ScriptResult |
ScriptResult.combine(ScriptResult newResult,
ScriptResult originalResult,
boolean ie)
Creates and returns a composite ScriptResult based on the two input ScriptResults. |
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 com.gargoylesoftware.htmlunit.html |
|---|
| Methods in com.gargoylesoftware.htmlunit.html that return ScriptResult | |
|---|---|
ScriptResult |
HtmlPage.executeJavaScript(String sourceCode)
Executes the specified JavaScript code within the page. |
ScriptResult |
HtmlPage.executeJavaScriptFunctionIfPossible(net.sourceforge.htmlunit.corejs.javascript.Function function,
net.sourceforge.htmlunit.corejs.javascript.Scriptable 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 |
HtmlPage.executeJavaScriptIfPossible(String sourceCode,
String sourceName,
int startLine)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK. |
ScriptResult |
HtmlElement.fireEvent(com.gargoylesoftware.htmlunit.javascript.host.Event event)
Fires the event on the element. |
ScriptResult |
HtmlElement.fireEvent(String eventType)
Shortcut for HtmlElement.fireEvent(Event). |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||