# Uses of Class
org.htmlunit.BrowserVersion

Packages that use BrowserVersion
Package
Description
com.xceptance.xlt.api.webdriver
Provides special Web driver classes that extend Selenium Web drivers with additional features such as recording data about requests and browser events or running browsers in headless mode.
org.htmlunit
Framework classes (contains the `WebClient` class which is the main entry point).
org.htmlunit.html
Classes specific to HTML pages, particularly the `HtmlPage` which represents an HTML document and provides access to its content.

- ## Uses of BrowserVersion in com.xceptance.xlt.api.webdriver

  Methods in com.xceptance.xlt.api.webdriver with parameters of type BrowserVersion
  Modifier and Type
  Method
  Description
  `protected WebClient`
  XltDriver.`newWebClient(BrowserVersion version)`
  Returns a new web client instance to be used by this driver.
  Constructors in com.xceptance.xlt.api.webdriver with parameters of type BrowserVersion
  Modifier
  Constructor
  Description
  ``
  `XltDriver(BrowserVersion version)`
  Constructs a new instance with the specified browser version.
  ``
  `XltDriver(BrowserVersion version, boolean enableJavaScript)`
  Constructs a new instance with the specified browser version and JavaScript support.

- ## Uses of BrowserVersion in org.htmlunit

  Fields in org.htmlunit declared as BrowserVersion
  Modifier and Type
  Field
  Description
  `static 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.
  `static final BrowserVersion`
  BrowserVersion.`CHROME`
  Latest Chrome.
  `static final BrowserVersion`
  BrowserVersion.`EDGE`
  Latest Edge.
  `static final BrowserVersion`
  BrowserVersion.`FIREFOX`
  Latest Firefox.
  `static final BrowserVersion`
  BrowserVersion.`FIREFOX_ESR`
  Firefox ESR.
  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
  `boolean`
  BrowserVersion.`isSameBrowser(BrowserVersion other)`
  `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
  Modifier
  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 specified `BrowserVersion`.
  ``
  `WebClient(BrowserVersion browserVersion, boolean javaScriptEngineEnabled, String proxyHost, int proxyPort)`
  Creates an instance that will use the specified `BrowserVersion` and proxy server.
  ``
  `WebClient(BrowserVersion browserVersion, boolean javaScriptEngineEnabled, String proxyHost, int proxyPort, String proxyScheme)`
  Creates an instance that will use the specified `BrowserVersion` and proxy server.
  ``
  `WebClient(BrowserVersion browserVersion, String proxyHost, int proxyPort)`
  Creates an instance that will use the specified `BrowserVersion` and proxy server.
  ``
  `WebClient(BrowserVersion browserVersion, String proxyHost, int proxyPort, String proxyScheme)`
  Creates an instance that will use the specified `BrowserVersion` and proxy server.

- ## 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)`