| Package | Description |
|---|---|
| com.gargoylesoftware.htmlunit |
Framework classes (contains the
WebClient
class which is the main entry point). |
| com.gargoylesoftware.htmlunit.activex.javascript.msxml |
Implementations of the MSXML's (ActiveX) JavaScript host objects - users of HtmlUnit shouldn't
need anything in this package.
|
| com.gargoylesoftware.htmlunit.css |
Classes supporting Cascading Style Sheets.
|
| com.gargoylesoftware.htmlunit.html |
Classes specific to HTML pages, particularly the
HtmlPage which represents
an HTML document and provides access to its content. |
| com.gargoylesoftware.htmlunit.html.serializer |
Contains the html serializer implementations.
|
| com.gargoylesoftware.htmlunit.httpclient |
All the customizations we did to make HttpClient behave like a real browser.
|
| com.gargoylesoftware.htmlunit.javascript |
Classes in this package are specific to the JavaScript engine - users of HtmlUnit shouldn't
need anything in this package.
|
| com.gargoylesoftware.htmlunit.javascript.configuration |
Classes in this package are specific for the JavaScript engine - users of HtmlUnit shouldn't
need anything in this package.
|
| com.gargoylesoftware.htmlunit.javascript.host |
Implementations of the various JavaScript host objects - users of HtmlUnit shouldn't
need anything in this package.
|
| com.gargoylesoftware.htmlunit.javascript.host.file |
Implementations of the File JavaScript host objects - users of HtmlUnit shouldn't
need anything in this package.
|
| com.gargoylesoftware.htmlunit.javascript.host.intl |
Implementations of the Internationalization JavaScript host objects - users of HtmlUnit shouldn't
need anything in this package.
|
| com.gargoylesoftware.htmlunit.javascript.regexp |
This package contains improvement to Rhino native RegExp based on JDK 1.4 regular expression support.
|
| Modifier and Type | Field and Description |
|---|---|
static BrowserVersion[] |
BrowserVersion.ALL_SUPPORTED_BROWSERS
Array with all supported browsers
|
static BrowserVersion |
BrowserVersion.BEST_SUPPORTED
The best supported browser version at the moment.
|
static BrowserVersion |
BrowserVersion.CHROME
Latest Chrome.
|
static BrowserVersion |
BrowserVersion.EDGE
Latest Edge
|
static BrowserVersion |
BrowserVersion.FIREFOX
Latest Firefox.
|
static BrowserVersion |
BrowserVersion.FIREFOX_ESR
Firefox ESR.
|
static BrowserVersion |
BrowserVersion.INTERNET_EXPLORER
Internet Explorer 11.
|
| Modifier and Type | Method and Description |
|---|---|
BrowserVersion |
BrowserVersion.BrowserVersionBuilder.build() |
BrowserVersion |
WebClient.getBrowserVersion()
Returns the current browser version.
|
static BrowserVersion |
BrowserVersion.getDefault()
Returns the default browser version that is used whenever a specific version isn't specified.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
BrowserVersion.setDefault(BrowserVersion newBrowserVersion)
Sets the default browser version that is used whenever a specific version isn't specified.
|
| Constructor and Description |
|---|
BrowserVersionBuilder(BrowserVersion version)
Creates a new BrowserVersionBuilder using the given browser version
as template for the browser to be constructed.
|
WebClient(BrowserVersion browserVersion)
Creates a web client instance using the specified
BrowserVersion. |
WebClient(BrowserVersion browserVersion,
boolean javaScriptEngineEnabled,
String proxyHost,
int proxyPort)
Creates an instance that will use the specified
BrowserVersion and proxy server. |
WebClient(BrowserVersion browserVersion,
boolean javaScriptEngineEnabled,
String proxyHost,
int proxyPort,
String proxyScheme)
Creates an instance that will use the specified
BrowserVersion and proxy server. |
WebClient(BrowserVersion browserVersion,
String proxyHost,
int proxyPort)
Creates an instance that will use the specified
BrowserVersion and proxy server. |
WebClient(BrowserVersion browserVersion,
String proxyHost,
int proxyPort,
String proxyScheme)
Creates an instance that will use the specified
BrowserVersion and proxy server. |
| Modifier and Type | Method and Description |
|---|---|
static MSXMLConfiguration |
MSXMLConfiguration.getInstance(BrowserVersion browserVersion)
Returns the instance that represents the configuration for the specified
BrowserVersion. |
void |
MSXMLActiveXObjectFactory.init(BrowserVersion browserVersion)
Initializes the factory.
|
| Constructor and Description |
|---|
MSXMLJavaScriptEnvironment(BrowserVersion browserVersion)
Creates an instance for the given
BrowserVersion. |
| Modifier and Type | Method and Description |
|---|---|
String |
StyleAttributes.Definition.getDefaultComputedValue(BrowserVersion browserVersion) |
static StyleAttributes.Definition |
StyleAttributes.getDefinition(String propertyName,
BrowserVersion browserVersion)
Gets the style attributes definition with the given name for the specified browser version.
|
static List<StyleAttributes.Definition> |
StyleAttributes.getDefinitions(BrowserVersion browserVersion)
Gets the style attributes definitions for the specified browser version.
|
static boolean |
CssStyleSheet.selects(BrowserVersion browserVersion,
com.gargoylesoftware.css.parser.condition.Condition condition,
DomElement element,
boolean fromQuerySelectorAll,
boolean throwOnSyntax)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Returns true if the specified condition selects the specified element. |
static boolean |
CssStyleSheet.selects(BrowserVersion browserVersion,
com.gargoylesoftware.css.parser.selector.Selector selector,
DomElement element,
String pseudoElement,
boolean fromQuerySelectorAll,
boolean throwOnSyntax)
Returns
true if the specified selector selects the specified element. |
| Modifier and Type | Method and Description |
|---|---|
protected com.gargoylesoftware.css.parser.selector.SelectorList |
DomNode.getSelectorList(String selectors,
BrowserVersion browserVersion)
Returns the
SelectorList. |
| Constructor and Description |
|---|
HtmlSerializerInnerOuterText(BrowserVersion browserVersion) |
| Constructor and Description |
|---|
HtmlUnitBrowserCompatCookieSpec(BrowserVersion browserVersion)
Constructor.
|
HtmlUnitCookieSpecProvider(BrowserVersion browserVersion)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
BrowserVersion |
HtmlUnitScriptable.getBrowserVersion()
Gets the browser version currently used.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
JavaScriptEngine.applyPolyfills(WebClient webClient,
BrowserVersion browserVersion,
net.sourceforge.htmlunit.corejs.javascript.Context context,
HtmlUnitScriptable scriptable)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
|
static HtmlUnitScriptable |
JavaScriptEngine.configureClass(ClassConfiguration config,
net.sourceforge.htmlunit.corejs.javascript.Scriptable window,
BrowserVersion browserVersion)
Configures the specified class for access via JavaScript.
|
static void |
JavaScriptEngine.configureRhino(WebClient webClient,
BrowserVersion browserVersion,
HtmlUnitScriptable scriptable)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
|
static void |
NativeFunctionToStringFunction.installFix(net.sourceforge.htmlunit.corejs.javascript.Scriptable window,
BrowserVersion browserVersion)
Install the wrapper in place of the native toString function on Function's prototype.
|
| Constructor and Description |
|---|
RecursiveFunctionObject(String name,
Executable methodOrConstructor,
net.sourceforge.htmlunit.corejs.javascript.Scriptable scope,
BrowserVersion browserVersion)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ClassConfiguration |
AbstractJavaScriptConfiguration.getClassConfiguration(Class<? extends HtmlUnitScriptable> klass,
BrowserVersion browserVersion)
Returns the class configuration of the given
klass. |
static JavaScriptConfiguration |
JavaScriptConfiguration.getInstance(BrowserVersion browserVersion)
Returns the instance that represents the configuration for the specified
BrowserVersion. |
| Constructor and Description |
|---|
AbstractJavaScriptConfiguration(BrowserVersion browser)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
BrowserVersion |
Window.getBrowserVersion()
Gets the browser version currently used.
|
| Modifier and Type | Method and Description |
|---|---|
String |
Blob.InMemoryBackend.getType(BrowserVersion browserVersion) |
| Modifier and Type | Method and Description |
|---|---|
void |
Intl.defineProperties(BrowserVersion browserVersion)
Define needed properties.
|
| Constructor and Description |
|---|
HtmlUnitRegExpProxy(net.sourceforge.htmlunit.corejs.javascript.RegExpProxy wrapped,
BrowserVersion browserVersion)
Wraps a proxy to enhance it.
|
Copyright © 2002–2022 Gargoyle Software Inc.. All rights reserved.