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 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 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.static final BrowserVersionBrowserVersion.CHROMELatest Chrome.static final BrowserVersionBrowserVersion.EDGELatest Edge.static final BrowserVersionBrowserVersion.FIREFOXLatest Firefox.static final BrowserVersionBrowserVersion.FIREFOX_ESRFirefox ESR.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
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.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.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) -
Uses of BrowserVersion in org.htmlunit.html.serializer
Constructors in org.htmlunit.html.serializer with parameters of type BrowserVersion -
Uses of BrowserVersion in org.htmlunit.httpclient
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. -
Uses of BrowserVersion in org.htmlunit.javascript
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. -
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.file
Methods in org.htmlunit.javascript.host.file with parameters of type BrowserVersion -
Uses of BrowserVersion in org.htmlunit.javascript.host.intl
Methods in org.htmlunit.javascript.host.intl with parameters of type BrowserVersionModifier and TypeMethodDescriptionvoidIntl.defineProperties(BrowserVersion browserVersion) Define needed properties.