# Uses of Class
org.htmlunit.WebClient

Packages that use WebClient
Package
Description
com.xceptance.xlt.api.actions
Provides abstract super classes for different types of actions.
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.
org.htmlunit.util
Miscellaneous utilities.

- ## Uses of WebClient in com.xceptance.xlt.api.actions

  Methods in com.xceptance.xlt.api.actions that return WebClient
  Modifier and Type
  Method
  Description
  `WebClient`
  AbstractWebAction.`getWebClient()`
  Returns the current web client.

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

  Methods in com.xceptance.xlt.api.webdriver that return WebClient
  Modifier and Type
  Method
  Description
  `WebClient`
  XltDriver.`getWebClient()`
  Returns the underlying `WebClient` instance to work with it directly.
  `protected WebClient`
  XltDriver.`newWebClient(BrowserVersion version)`
  Returns a new web client instance to be used by this driver.

- ## Uses of WebClient in org.htmlunit

  Methods in org.htmlunit that return WebClient
  Modifier and Type
  Method
  Description
  `WebClient`
  SgmlPage.`getWebClient()`
  Returns the WebClient that originally loaded this page.
  `WebClient`
  WebWindow.`getWebClient()`
  Returns the web client that "owns" this window.
  `WebClient`
  WebWindowImpl.`getWebClient()`
  Returns the web client that "owns" this window.
  Constructors in org.htmlunit with parameters of type WebClient
  Modifier
  Constructor
  Description
  `protected`
  `DialogWindow(WebClient webClient, Object arguments)`
  Creates a new instance.
  ``
  `HttpWebConnection(WebClient webClient)`
  Creates a new HTTP web connection instance.
  ``
  `Screen(WebClient webClient)`
  Creates an instance.
  `protected`
  `TopLevelWindow(String name, WebClient webClient)`
  Creates an instance.
  ``
  `WebWindowImpl(WebClient webClient)`
  Creates a window and associates it with the client.

- ## Uses of WebClient in org.htmlunit.html

  Methods in org.htmlunit.html with parameters of type WebClient
  Modifier and Type
  Method
  Description
  `protected org.htmlunit.cssparser.parser.selector.SelectorList`
  DomNode.`getSelectorList(String selectors, WebClient webClient)`
  Returns the `SelectorList`.

- ## Uses of WebClient in org.htmlunit.util

  Methods in org.htmlunit.util with parameters of type WebClient
  Modifier and Type
  Method
  Description
  `static void`
  WebClientUtils.`attachVisualDebugger(WebClient client)`
  Attaches a visual (GUI) debugger to the specified client.
  Constructors in org.htmlunit.util with parameters of type WebClient
  Modifier
  Constructor
  Description
  ``
  `FalsifyingWebConnection(WebClient webClient)`
  Constructs an instance and places itself as connection of the WebClient.
  ``
  `WebConnectionWrapper(WebClient webClient)`
  Constructs a WebConnection object wrapping the connection of the WebClient and places itself as connection of the WebClient.