Package | Description |
---|---|
com.gargoylesoftware.htmlunit |
Framework classes
|
com.gargoylesoftware.htmlunit.html |
Classes specific to html pages
|
com.gargoylesoftware.htmlunit.javascript.host |
Implementations of the various javascript host objects - users of HtmlUnit shouldn't
need anything in this package.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
ScriptResult.isFalse(ScriptResult scriptResult)
Utility method testing if a script result is
false |
Modifier and Type | Method and Description |
---|---|
ScriptResult |
HtmlPage.executeJavaScript(String sourceCode)
Execute the specified javascript within the page.
|
ScriptResult |
HtmlPage.executeJavaScriptFunctionIfPossible(org.mozilla.javascript.Function function,
org.mozilla.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,
HtmlElement htmlElement)
Deprecated.
use
HtmlPage.executeJavaScript(String) instead |
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(Event event)
Fire the event on the element.
|
ScriptResult |
HtmlElement.fireEvent(String eventType)
Shortcut for
HtmlElement.fireEvent(Event) . |
Modifier and Type | Method and Description |
---|---|
ScriptResult |
Node.executeEvent(Event event)
Execute the event on this object only (needed for instance for onload on (i)frame tags)
|
ScriptResult |
Node.fireEvent(Event event)
Fires the event on the node with capturing and bubbling phase
|
static ScriptResult |
HTMLElement.jsxFunction_fireEvent(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function f)
Fires a specified event on this element (IE only).
|
Copyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.