Class BrowserConfiguration
java.lang.Object
org.htmlunit.css.BrowserConfiguration
- Direct Known Subclasses:
BrowserConfiguration.Chrome, BrowserConfiguration.ChromeAndEdge, BrowserConfiguration.ChromeAndEdgeAndFirefox, BrowserConfiguration.ChromeAndEdgeNotIterable, BrowserConfiguration.Edge, BrowserConfiguration.FF, BrowserConfiguration.FFESR, BrowserConfiguration.FFLatest, BrowserConfiguration.FFNotIterable
Allows specifying for which
BrowserVersion a style attribute is defined.
Quite experimental: it allows doing more than what we had previously but let's see if
this is the right way.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static classprivate static class(package private) static classprivate static classprivate static classprivate static classprivate static classprivate static class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static BrowserConfiguration(package private) static BrowserConfigurationchromeAndEdge(String defaultValue) (package private) static BrowserConfigurationchromeAndEdgeAndFirefox(String defaultValue) (package private) static BrowserConfiguration(package private) static BrowserConfiguration(package private) static BrowserConfiguration(package private) static BrowserConfiguration(package private) static BrowserConfigurationchromeAndEdgeNotIterable(String defaultValue) (package private) static BrowserConfiguration(package private) static BrowserConfiguration(package private) static BrowserConfiguration(package private) static BrowserConfiguration(package private) static BrowserConfigurationffNone()(package private) static BrowserConfigurationffNormal()(package private) static BrowserConfigurationffNotIterable(String defaultValue) (package private) String(package private) static BrowserConfigurationgetMatchingConfiguration(BrowserVersion browserVersion, BrowserConfiguration[] browserConfigurations) boolean(package private) abstract booleanmatches(BrowserVersion browserVersion)
-
Field Details
-
defaultValue_
-
-
Constructor Details
-
BrowserConfiguration
BrowserConfiguration(String defaultValue)
-
-
Method Details
-
getDefaultValue
String getDefaultValue() -
matches
-
isIteratable
public boolean isIteratable() -
getMatchingConfiguration
static BrowserConfiguration getMatchingConfiguration(BrowserVersion browserVersion, BrowserConfiguration[] browserConfigurations) -
chromeAndEdgeAuto
-
chromeAndEdgeNone
-
chromeAndEdgeNormal
-
chromeAndEdgeEmpty
-
chromeAndEdge
-
chrome
-
edge
-
chromeAndEdgeAndFirefox
-
chromeAndEdgeNotIterable
-
ffNone
-
ffNormal
-
ff
-
ffNotIterable
-
ffLatest
-
ffEsr
-