| Package | Description | 
|---|---|
| org.htmlunit | Framework classes (contains the  WebClientclass which is the main entry point). | 
| org.htmlunit.javascript | Classes in this package are specific to the JavaScript engine - users of HtmlUnit shouldn't
 need anything in this package. | 
| Modifier and Type | Method and Description | 
|---|---|
| JavaScriptErrorListener | WebClient. getJavaScriptErrorListener()Returns the javascript error listener for this  WebClient. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | WebClient. setJavaScriptErrorListener(JavaScriptErrorListener javaScriptErrorListener)Sets the javascript error listener for this  WebClient. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DefaultJavaScriptErrorListenerDefault implementation of  JavaScriptErrorListenerthat does
 default logging. | 
| class  | SilentJavaScriptErrorListenerSilent implementation of  JavaScriptErrorListenerthat does no logging at all. | 
Copyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.