Uses of Class
org.htmlunit.BrowserVersion
-
Packages that use BrowserVersion Package Description org.htmlunit Framework classes (contains theWebClient
class which is the main entry point).org.htmlunit.css Classes supporting Cascading Style Sheets.org.htmlunit.html Classes specific to HTML pages, particularly theHtmlPage
which represents an HTML document and provides access to its content.org.htmlunit.html.parser.neko Contains the neko html parser.org.htmlunit.html.serializer Contains the html serializer implementations.org.htmlunit.httpclient All the customizations we did to make HttpClient behave like a real browser.org.htmlunit.javascript Classes in this package are specific to the JavaScript engine - users of HtmlUnit shouldn't need anything in this package.org.htmlunit.javascript.configuration Classes in this package are specific for the JavaScript engine - users of HtmlUnit shouldn't need anything in this package.org.htmlunit.javascript.host Implementations of the various JavaScript host objects - users of HtmlUnit shouldn't need anything in this package.org.htmlunit.javascript.host.event Implementations of the JavaScript host objects for events - users of HtmlUnit shouldn't need anything in this package.org.htmlunit.javascript.host.file Implementations of the File JavaScript host objects - users of HtmlUnit shouldn't need anything in this package.org.htmlunit.javascript.host.intl 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 BrowserVersion Modifier and Type Field 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.private BrowserVersion
WebClient. browserVersion_
static BrowserVersion
BrowserVersion. CHROME
Latest Chrome.private static BrowserVersion
BrowserVersion. DefaultBrowserVersion_
The default browser version.static BrowserVersion
BrowserVersion. EDGE
Latest Edge.static BrowserVersion
BrowserVersion. FIREFOX
Latest Firefox.static BrowserVersion
BrowserVersion. FIREFOX_ESR
Firefox ESR.private BrowserVersion
BrowserVersion.BrowserVersionBuilder. workPiece_
Methods in org.htmlunit that return BrowserVersion Modifier and Type Method 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.Methods in org.htmlunit with parameters of type BrowserVersion Modifier and Type Method Description static 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 BrowserVersion Constructor 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 specifiedBrowserVersion
.WebClient(BrowserVersion browserVersion, boolean javaScriptEngineEnabled, java.lang.String proxyHost, int proxyPort)
Creates an instance that will use the specifiedBrowserVersion
and proxy server.WebClient(BrowserVersion browserVersion, boolean javaScriptEngineEnabled, java.lang.String proxyHost, int proxyPort, java.lang.String proxyScheme)
Creates an instance that will use the specifiedBrowserVersion
and proxy server.WebClient(BrowserVersion browserVersion, java.lang.String proxyHost, int proxyPort)
Creates an instance that will use the specifiedBrowserVersion
and proxy server.WebClient(BrowserVersion browserVersion, java.lang.String proxyHost, int proxyPort, java.lang.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 BrowserVersion Modifier and Type Field Description private BrowserVersion
WrappedCssStyleDeclaration. browserVersion_
Methods in org.htmlunit.css that return BrowserVersion Modifier and Type Method Description abstract BrowserVersion
AbstractCssStyleDeclaration. getBrowserVersion()
BrowserVersion
ComputedCssStyleDeclaration. getBrowserVersion()
BrowserVersion
ElementCssStyleDeclaration. getBrowserVersion()
BrowserVersion
WrappedCssStyleDeclaration. getBrowserVersion()
Methods in org.htmlunit.css with parameters of type BrowserVersion Modifier and Type Method Description java.lang.String
StyleAttributes.Definition. getDefaultComputedValue(BrowserVersion browserVersion)
static StyleAttributes.Definition
StyleAttributes. getDefinition(java.lang.String propertyName, BrowserVersion browserVersion)
Gets the style attributes definition with the given name for the specified browser version.static java.util.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 java.lang.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, java.lang.String pseudoElement, boolean fromQuerySelectorAll, boolean throwOnSyntax)
Returnstrue
if the specified selector selects the specified element.private java.util.List<org.htmlunit.cssparser.dom.CSSStyleSheetImpl.SelectorEntry>
CssStyleSheet. selects(org.htmlunit.cssparser.dom.CSSStyleSheetImpl.CSSStyleSheetRuleIndex index, BrowserVersion browserVersion, DomElement element, java.lang.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 BrowserVersion Constructor Description WrappedCssStyleDeclaration(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 BrowserVersion Modifier and Type Method Description protected 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(java.lang.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 BrowserVersion Modifier and Type Method Description private 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 BrowserVersion Modifier and Type Field Description private BrowserVersion
HtmlSerializerInnerOuterText. browserVersion_
Constructors in org.htmlunit.html.serializer with parameters of type BrowserVersion Constructor Description HtmlSerializerInnerOuterText(BrowserVersion browserVersion)
-
Uses of BrowserVersion in org.htmlunit.httpclient
Fields in org.htmlunit.httpclient declared as BrowserVersion Modifier and Type Field Description private BrowserVersion
HtmlUnitCookieSpecProvider. browserVersion_
private BrowserVersion
HtmlUnitDomainHandler. browserVersion_
private BrowserVersion
HtmlUnitExpiresHandler. browserVersion_
Methods in org.htmlunit.httpclient with parameters of type BrowserVersion Modifier and Type Method Description static void
HttpClientConverter. addMatching(java.util.Set<Cookie> cookies, java.net.URL normalizedUrl, BrowserVersion browserVersion, java.util.Set<Cookie> matches)
static java.util.List<Cookie>
HttpClientConverter. parseCookie(java.lang.String cookieString, java.net.URL pageUrl, BrowserVersion browserVersion)
Constructors in org.htmlunit.httpclient with parameters of type BrowserVersion Constructor Description HtmlUnitBrowserCompatCookieSpec(BrowserVersion browserVersion)
Constructor.HtmlUnitCookieSpecProvider(BrowserVersion browserVersion)
Constructor.HtmlUnitDomainHandler(BrowserVersion browserVersion)
HtmlUnitExpiresHandler(BrowserVersion browserVersion)
-
Uses of BrowserVersion in org.htmlunit.javascript
Fields in org.htmlunit.javascript declared as BrowserVersion Modifier and Type Field Description private BrowserVersion
HtmlUnitContextFactory. browserVersion_
private BrowserVersion
RecursiveFunctionObject. browserVersion_
Methods in org.htmlunit.javascript that return BrowserVersion Modifier and Type Method Description BrowserVersion
HtmlUnitScriptable. getBrowserVersion()
Gets the browser version currently used.Methods in org.htmlunit.javascript with parameters of type BrowserVersion Modifier and Type Method Description static 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 java.lang.String
JavaScriptEngine. evaluateProxyAutoConfig(BrowserVersion browserVersion, java.lang.String content, java.net.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 BrowserVersion Constructor Description RecursiveFunctionObject(java.lang.String name, java.lang.reflect.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 BrowserVersion Modifier and Type Method Description static ClassConfiguration
AbstractJavaScriptConfiguration. getClassConfiguration(java.lang.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
.static ProxyAutoConfigJavaScriptConfiguration
ProxyAutoConfigJavaScriptConfiguration. getInstance(BrowserVersion browserVersion)
Returns the instance that represents the configuration for the specifiedBrowserVersion
.Constructors in org.htmlunit.javascript.configuration with parameters of type BrowserVersion Constructor Description AbstractJavaScriptConfiguration(BrowserVersion browser)
Constructor.JavaScriptConfiguration(BrowserVersion browser)
Constructor is only called fromJavaScriptConfiguration.getInstance(BrowserVersion)
which is synchronized.ProxyAutoConfigJavaScriptConfiguration(BrowserVersion browser)
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 BrowserVersion Modifier and Type Method Description BrowserVersion
Window. 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 BrowserVersion Modifier and Type Method Description private static java.lang.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 BrowserVersion Modifier and Type Method Description (package private) abstract java.lang.String
Blob.Backend. getType(BrowserVersion browserVersion)
java.lang.String
Blob.InMemoryBackend. getType(BrowserVersion browserVersion)
java.lang.String
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 BrowserVersion Modifier and Type Method Description private void
Intl. define(java.lang.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 BrowserVersion Constructor Description DateTimeFormat(java.lang.String[] locales, BrowserVersion browserVersion)
DateTimeFormatHelper(java.lang.String locale, BrowserVersion browserVersion, java.lang.String pattern)
NumberFormat(java.lang.String[] locales, BrowserVersion browserVersion)
NumberFormatHelper(java.lang.String localeName, BrowserVersion browserVersion, java.lang.String pattern)
-