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_BROWSERSArray with all supported browsers.static final BrowserVersionBrowserVersion.BEST_SUPPORTEDThe best supported browser version at the moment.private final BrowserVersionWebClient.browserVersion_static final BrowserVersionBrowserVersion.CHROMELatest Chrome.private static BrowserVersionBrowserVersion.DefaultBrowserVersion_The default browser version.static final BrowserVersionBrowserVersion.EDGELatest Edge.static final BrowserVersionBrowserVersion.FIREFOXLatest Firefox.static final BrowserVersionBrowserVersion.FIREFOX_ESRFirefox ESR.private final BrowserVersionBrowserVersion.BrowserVersionBuilder.workPiece_Methods in org.htmlunit that return BrowserVersionModifier and TypeMethodDescriptionBrowserVersion.BrowserVersionBuilder.build()WebClient.getBrowserVersion()Returns the current browser version.static BrowserVersionBrowserVersion.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 voidBrowserVersion.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 specifiedBrowserVersionand proxy server.WebClient(BrowserVersion browserVersion, boolean javaScriptEngineEnabled, String proxyHost, int proxyPort, String proxyScheme) Creates an instance that will use the specifiedBrowserVersionand proxy server.WebClient(BrowserVersion browserVersion, String proxyHost, int proxyPort) Creates an instance that will use the specifiedBrowserVersionand proxy server.WebClient(BrowserVersion browserVersion, String proxyHost, int proxyPort, String proxyScheme) Creates an instance that will use the specifiedBrowserVersionand proxy server. -
Uses of BrowserVersion in org.htmlunit.css
Fields in org.htmlunit.css declared as BrowserVersionModifier and TypeFieldDescriptionprivate final BrowserVersionWrappedCssStyleDeclaration.browserVersion_Methods in org.htmlunit.css that return BrowserVersionModifier and TypeMethodDescriptionabstract BrowserVersionAbstractCssStyleDeclaration.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.DefinitionStyleAttributes.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 BrowserConfigurationBrowserConfiguration.getMatchingConfiguration(BrowserVersion browserVersion, BrowserConfiguration[] browserConfigurations) private static StringComputedCssStyleDeclaration.getStyleAttributeWorker(StyleAttributes.Definition definition, boolean getDefaultValueIfEmpty, BrowserVersion browserVersion, boolean feature, boolean isDefInheritable, ComputedCssStyleDeclaration[] queue) (package private) booleanStyleAttributes.Definition.isAvailable(BrowserVersion browserVersion, boolean onlyIfIteratable) booleanBrowserConfiguration.Chrome.matches(BrowserVersion browserVersion) booleanBrowserConfiguration.ChromeAndEdge.matches(BrowserVersion browserVersion) booleanBrowserConfiguration.ChromeAndEdgeAndFirefox.matches(BrowserVersion browserVersion) booleanBrowserConfiguration.ChromeAndEdgeNotIterable.matches(BrowserVersion browserVersion) booleanBrowserConfiguration.Edge.matches(BrowserVersion browserVersion) booleanBrowserConfiguration.FF.matches(BrowserVersion browserVersion) booleanBrowserConfiguration.FFESR.matches(BrowserVersion browserVersion) booleanBrowserConfiguration.FFLatest.matches(BrowserVersion browserVersion) booleanBrowserConfiguration.FFNotIterable.matches(BrowserVersion browserVersion) (package private) abstract booleanBrowserConfiguration.matches(BrowserVersion browserVersion) (package private) static booleanCssStyleSheet.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.
Returnstrueif the specified condition selects the specified element.static booleanCssStyleSheet.selects(BrowserVersion browserVersion, org.htmlunit.cssparser.parser.selector.Selector selector, DomElement element, String pseudoElement, boolean fromQuerySelectorAll, boolean throwOnSyntax) Returnstrueif 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 booleanCssStyleSheet.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 voidHtmlDateTimeLocalInput.adjustValueAfterTypeChange(HtmlInput oldInput, BrowserVersion browserVersion) protected voidHtmlFileInput.adjustValueAfterTypeChange(HtmlInput oldInput, BrowserVersion browserVersion) protected voidHtmlInput.adjustValueAfterTypeChange(HtmlInput oldInput, BrowserVersion browserVersion) protected voidHtmlMonthInput.adjustValueAfterTypeChange(HtmlInput oldInput, BrowserVersion browserVersion) protected voidHtmlTimeInput.adjustValueAfterTypeChange(HtmlInput oldInput, BrowserVersion browserVersion) protected voidHtmlWeekInput.adjustValueAfterTypeChange(HtmlInput oldInput, BrowserVersion browserVersion) private static booleanHtmlInput.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.XMLParserConfigurationHtmlUnitNekoDOMBuilder.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 BrowserVersionHtmlSerializerInnerOuterText.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 BrowserVersionHtmlUnitCookieSpecProvider.browserVersion_private final BrowserVersionHtmlUnitDomainHandler.browserVersion_private final BrowserVersionHtmlUnitExpiresHandler.browserVersion_Methods in org.htmlunit.httpclient with parameters of type BrowserVersionModifier and TypeMethodDescriptionstatic voidHttpClientConverter.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 BrowserVersionHtmlUnitContextFactory.browserVersion_private final BrowserVersionRecursiveFunctionObject.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 voidJavaScriptEngine.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 HtmlUnitScriptableJavaScriptEngine.configureClass(ClassConfiguration config, org.htmlunit.corejs.javascript.Scriptable window, BrowserVersion browserVersion) Configures the specified class for access via JavaScript.static voidJavaScriptEngine.configureRhino(WebClient webClient, BrowserVersion browserVersion, HtmlUnitScriptable scriptable) INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.static StringJavaScriptEngine.evaluateProxyAutoConfig(BrowserVersion browserVersion, String content, URL url) Evaluates theFindProxyForURLmethod of the specified content.static voidNativeFunctionToStringFunction.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 ClassConfigurationAbstractJavaScriptConfiguration.getClassConfiguration(Class<? extends HtmlUnitScriptable> klass, BrowserVersion browserVersion) Returns the class configuration of the givenklass.static JavaScriptConfigurationJavaScriptConfiguration.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 BrowserVersionModifierConstructorDescriptionprotectedConstructor.privateJavaScriptConfiguration(BrowserVersion browser) Constructor is only called fromJavaScriptConfiguration.getInstance(BrowserVersion)which is synchronized.privateConstructor 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 ObjectBeforeUnloadEvent.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 StringBlob.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 voidIntl.define(Class<? extends HtmlUnitScriptable> c, BrowserVersion browserVersion) voidIntl.defineProperties(BrowserVersion browserVersion) Define needed properties.Constructors in org.htmlunit.javascript.host.intl with parameters of type BrowserVersionModifierConstructorDescriptionprivateDateTimeFormat(String[] locales, BrowserVersion browserVersion) (package private)DateTimeFormatHelper(String locale, BrowserVersion browserVersion, String pattern) privateNumberFormat(String[] locales, BrowserVersion browserVersion) (package private)NumberFormatHelper(String localeName, BrowserVersion browserVersion, String pattern)