Uses of Class
org.htmlunit.BrowserVersion
Packages that use BrowserVersion
Package
Description
Framework classes (contains the
WebClient
class which is the main entry point).Classes supporting Cascading Style Sheets.
Classes specific to HTML pages, particularly the
HtmlPage
which represents
an HTML document and provides access to its content.Contains the neko html parser.
Contains the html serializer implementations.
All the customizations we did to make HttpClient behave like a real browser.
Classes in this package are specific to the JavaScript engine - users of HtmlUnit shouldn't
need anything in this package.
Classes in this package are specific for the JavaScript engine - users of HtmlUnit shouldn't
need anything in this package.
Implementations of the various JavaScript host objects - users of HtmlUnit shouldn't
need anything in this package.
Implementations of the JavaScript host objects for events - users of HtmlUnit shouldn't
need anything in this package.
Implementations of the File JavaScript host objects - users of HtmlUnit shouldn't
need anything in this package.
Implementations of the Internationalization JavaScript host objects - users of HtmlUnit shouldn't
need anything in this package.
-
Uses of BrowserVersion in org.htmlunit
Fields in org.htmlunit declared as BrowserVersionModifier and TypeFieldDescriptionstatic final BrowserVersion[]
BrowserVersion.ALL_SUPPORTED_BROWSERS
Array with all supported browsers.static final BrowserVersion
BrowserVersion.BEST_SUPPORTED
The best supported browser version at the moment.private final BrowserVersion
WebClient.browserVersion_
static final BrowserVersion
BrowserVersion.CHROME
Latest Chrome.private static BrowserVersion
BrowserVersion.DefaultBrowserVersion_
The default browser version.static final BrowserVersion
BrowserVersion.EDGE
Latest Edge.static final BrowserVersion
BrowserVersion.FIREFOX
Latest Firefox.static final BrowserVersion
BrowserVersion.FIREFOX_ESR
Firefox ESR.private final BrowserVersion
BrowserVersion.BrowserVersionBuilder.workPiece_
Methods in org.htmlunit that return BrowserVersionModifier and TypeMethodDescriptionBrowserVersion.BrowserVersionBuilder.build()
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.Methods in org.htmlunit with parameters of type BrowserVersionModifier and TypeMethodDescriptionstatic void
BrowserVersion.setDefault
(BrowserVersion newBrowserVersion) Sets the default browser version that is used whenever a specific version isn't specified.Constructors in org.htmlunit with parameters of type BrowserVersionModifierConstructorDescriptionBrowserVersionBuilder
(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 specifiedBrowserVersion
.WebClient
(BrowserVersion browserVersion, boolean javaScriptEngineEnabled, String proxyHost, int proxyPort) Creates an instance that will use the specifiedBrowserVersion
and proxy server.WebClient
(BrowserVersion browserVersion, boolean javaScriptEngineEnabled, String proxyHost, int proxyPort, String proxyScheme) Creates an instance that will use the specifiedBrowserVersion
and proxy server.WebClient
(BrowserVersion browserVersion, String proxyHost, int proxyPort) Creates an instance that will use the specifiedBrowserVersion
and proxy server.WebClient
(BrowserVersion browserVersion, String proxyHost, int proxyPort, String proxyScheme) Creates an instance that will use the specifiedBrowserVersion
and proxy server. -
Uses of BrowserVersion in org.htmlunit.css
Fields in org.htmlunit.css declared as BrowserVersionModifier and TypeFieldDescriptionprivate final BrowserVersion
WrappedCssStyleDeclaration.browserVersion_
Methods in org.htmlunit.css that return BrowserVersionModifier and TypeMethodDescriptionabstract BrowserVersion
AbstractCssStyleDeclaration.getBrowserVersion()
ComputedCssStyleDeclaration.getBrowserVersion()
ElementCssStyleDeclaration.getBrowserVersion()
WrappedCssStyleDeclaration.getBrowserVersion()
Methods in org.htmlunit.css with parameters of type BrowserVersionModifier and TypeMethodDescriptionStyleAttributes.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.(package private) static BrowserConfiguration
BrowserConfiguration.getMatchingConfiguration
(BrowserVersion browserVersion, BrowserConfiguration[] browserConfigurations) private static String
ComputedCssStyleDeclaration.getStyleAttributeWorker
(StyleAttributes.Definition definition, boolean getDefaultValueIfEmpty, BrowserVersion browserVersion, boolean feature, boolean isDefInheritable, ComputedCssStyleDeclaration[] queue) (package private) boolean
StyleAttributes.Definition.isAvailable
(BrowserVersion browserVersion, boolean onlyIfIteratable) boolean
BrowserConfiguration.Chrome.matches
(BrowserVersion browserVersion) boolean
BrowserConfiguration.ChromeAndEdge.matches
(BrowserVersion browserVersion) boolean
BrowserConfiguration.ChromeAndEdgeAndFirefox.matches
(BrowserVersion browserVersion) boolean
BrowserConfiguration.ChromeAndEdgeNotIterable.matches
(BrowserVersion browserVersion) boolean
BrowserConfiguration.Edge.matches
(BrowserVersion browserVersion) boolean
BrowserConfiguration.FF.matches
(BrowserVersion browserVersion) boolean
BrowserConfiguration.FFESR.matches
(BrowserVersion browserVersion) boolean
BrowserConfiguration.FFLatest.matches
(BrowserVersion browserVersion) boolean
BrowserConfiguration.FFNotIterable.matches
(BrowserVersion browserVersion) (package private) abstract boolean
BrowserConfiguration.matches
(BrowserVersion browserVersion) (package private) static boolean
CssStyleSheet.selects
(BrowserVersion browserVersion, org.htmlunit.cssparser.parser.condition.Condition condition, DomElement element, boolean fromQuerySelectorAll, boolean throwOnSyntax) INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Returnstrue
if the specified condition selects the specified element.static boolean
CssStyleSheet.selects
(BrowserVersion browserVersion, org.htmlunit.cssparser.parser.selector.Selector selector, DomElement element, String pseudoElement, boolean fromQuerySelectorAll, boolean throwOnSyntax) Returnstrue
if the specified selector selects the specified element.private List
<org.htmlunit.cssparser.dom.CSSStyleSheetImpl.SelectorEntry> CssStyleSheet.selects
(org.htmlunit.cssparser.dom.CSSStyleSheetImpl.CSSStyleSheetRuleIndex index, BrowserVersion browserVersion, DomElement element, String pseudoElement, boolean fromQuerySelectorAll) private static boolean
CssStyleSheet.selectsPseudoClass
(BrowserVersion browserVersion, org.htmlunit.cssparser.parser.condition.Condition condition, DomElement element) Constructors in org.htmlunit.css with parameters of type BrowserVersionModifierConstructorDescriptionWrappedCssStyleDeclaration
(org.htmlunit.cssparser.dom.CSSStyleDeclarationImpl cssStyleDeclarationImpl, BrowserVersion browserVersion) Creates an instance which wraps the specified style declaration implementation. -
Uses of BrowserVersion in org.htmlunit.html
Methods in org.htmlunit.html with parameters of type BrowserVersionModifier and TypeMethodDescriptionprotected void
HtmlDateTimeLocalInput.adjustValueAfterTypeChange
(HtmlInput oldInput, BrowserVersion browserVersion) protected void
HtmlFileInput.adjustValueAfterTypeChange
(HtmlInput oldInput, BrowserVersion browserVersion) protected void
HtmlInput.adjustValueAfterTypeChange
(HtmlInput oldInput, BrowserVersion browserVersion) protected void
HtmlMonthInput.adjustValueAfterTypeChange
(HtmlInput oldInput, BrowserVersion browserVersion) protected void
HtmlTimeInput.adjustValueAfterTypeChange
(HtmlInput oldInput, BrowserVersion browserVersion) protected void
HtmlWeekInput.adjustValueAfterTypeChange
(HtmlInput oldInput, BrowserVersion browserVersion) private static boolean
HtmlInput.isSupported
(String type, BrowserVersion browserVersion) Returns whether the specified type is supported or not. -
Uses of BrowserVersion in org.htmlunit.html.parser.neko
Methods in org.htmlunit.html.parser.neko with parameters of type BrowserVersionModifier and TypeMethodDescriptionprivate static org.htmlunit.cyberneko.xerces.xni.parser.XMLParserConfiguration
HtmlUnitNekoDOMBuilder.createConfiguration
(BrowserVersion browserVersion) Create the configuration depending on the simulated browser -
Uses of BrowserVersion in org.htmlunit.html.serializer
Fields in org.htmlunit.html.serializer declared as BrowserVersionModifier and TypeFieldDescriptionprivate final BrowserVersion
HtmlSerializerInnerOuterText.browserVersion_
Constructors in org.htmlunit.html.serializer with parameters of type BrowserVersion -
Uses of BrowserVersion in org.htmlunit.httpclient
Fields in org.htmlunit.httpclient declared as BrowserVersionModifier and TypeFieldDescriptionprivate final BrowserVersion
HtmlUnitCookieSpecProvider.browserVersion_
private final BrowserVersion
HtmlUnitDomainHandler.browserVersion_
private final BrowserVersion
HtmlUnitExpiresHandler.browserVersion_
Methods in org.htmlunit.httpclient with parameters of type BrowserVersionModifier and TypeMethodDescriptionstatic void
HttpClientConverter.addMatching
(Set<Cookie> cookies, URL normalizedUrl, BrowserVersion browserVersion, Set<Cookie> matches) HttpClientConverter.parseCookie
(String cookieString, URL pageUrl, BrowserVersion browserVersion) Constructors in org.htmlunit.httpclient with parameters of type BrowserVersionModifierConstructorDescriptionHtmlUnitBrowserCompatCookieSpec
(BrowserVersion browserVersion) Constructor.HtmlUnitCookieSpecProvider
(BrowserVersion browserVersion) Constructor.(package private)
HtmlUnitDomainHandler
(BrowserVersion browserVersion) (package private)
HtmlUnitExpiresHandler
(BrowserVersion browserVersion) -
Uses of BrowserVersion in org.htmlunit.javascript
Fields in org.htmlunit.javascript declared as BrowserVersionModifier and TypeFieldDescriptionprivate final BrowserVersion
HtmlUnitContextFactory.browserVersion_
private final BrowserVersion
RecursiveFunctionObject.browserVersion_
Methods in org.htmlunit.javascript that return BrowserVersionModifier and TypeMethodDescriptionHtmlUnitScriptable.getBrowserVersion()
Gets the browser version currently used.Methods in org.htmlunit.javascript with parameters of type BrowserVersionModifier and TypeMethodDescriptionstatic void
JavaScriptEngine.applyPolyfills
(WebClient webClient, BrowserVersion browserVersion, org.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, org.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 String
JavaScriptEngine.evaluateProxyAutoConfig
(BrowserVersion browserVersion, String content, URL url) Evaluates theFindProxyForURL
method of the specified content.static void
NativeFunctionToStringFunction.installFix
(org.htmlunit.corejs.javascript.Scriptable window, BrowserVersion browserVersion) Install the wrapper in place of the native toString function on Function's prototype.Constructors in org.htmlunit.javascript with parameters of type BrowserVersionModifierConstructorDescriptionRecursiveFunctionObject
(String name, Member methodOrConstructor, org.htmlunit.corejs.javascript.Scriptable scope, BrowserVersion browserVersion) The constructor. -
Uses of BrowserVersion in org.htmlunit.javascript.configuration
Methods in org.htmlunit.javascript.configuration with parameters of type BrowserVersionModifier and TypeMethodDescriptionstatic ClassConfiguration
AbstractJavaScriptConfiguration.getClassConfiguration
(Class<? extends HtmlUnitScriptable> klass, BrowserVersion browserVersion) Returns the class configuration of the givenklass
.static JavaScriptConfiguration
JavaScriptConfiguration.getInstance
(BrowserVersion browserVersion) Returns the instance that represents the configuration for the specifiedBrowserVersion
.ProxyAutoConfigJavaScriptConfiguration.getInstance
(BrowserVersion browserVersion) Returns the instance that represents the configuration for the specifiedBrowserVersion
.Constructors in org.htmlunit.javascript.configuration with parameters of type BrowserVersionModifierConstructorDescriptionprotected
Constructor.private
JavaScriptConfiguration
(BrowserVersion browser) Constructor is only called fromJavaScriptConfiguration.getInstance(BrowserVersion)
which is synchronized.private
Constructor is only called fromProxyAutoConfigJavaScriptConfiguration.getInstance(BrowserVersion)
which is synchronized. -
Uses of BrowserVersion in org.htmlunit.javascript.host
Methods in org.htmlunit.javascript.host that return BrowserVersionModifier and TypeMethodDescriptionWindow.getBrowserVersion()
Gets the browser version currently used. -
Uses of BrowserVersion in org.htmlunit.javascript.host.event
Methods in org.htmlunit.javascript.host.event with parameters of type BrowserVersionModifier and TypeMethodDescriptionprivate static Object
BeforeUnloadEvent.getReturnValueDefault
(BrowserVersion browserVersion) -
Uses of BrowserVersion in org.htmlunit.javascript.host.file
Methods in org.htmlunit.javascript.host.file with parameters of type BrowserVersionModifier and TypeMethodDescription(package private) abstract String
Blob.Backend.getType
(BrowserVersion browserVersion) Blob.InMemoryBackend.getType
(BrowserVersion browserVersion) File.FileBackend.getType
(BrowserVersion browserVersion) -
Uses of BrowserVersion in org.htmlunit.javascript.host.intl
Methods in org.htmlunit.javascript.host.intl with parameters of type BrowserVersionModifier and TypeMethodDescriptionprivate void
Intl.define
(Class<? extends HtmlUnitScriptable> c, BrowserVersion browserVersion) void
Intl.defineProperties
(BrowserVersion browserVersion) Define needed properties.Constructors in org.htmlunit.javascript.host.intl with parameters of type BrowserVersionModifierConstructorDescriptionprivate
DateTimeFormat
(String[] locales, BrowserVersion browserVersion) (package private)
DateTimeFormatHelper
(String locale, BrowserVersion browserVersion, String pattern) private
NumberFormat
(String[] locales, BrowserVersion browserVersion) (package private)
NumberFormatHelper
(String localeName, BrowserVersion browserVersion, String pattern)