Interface Summary Interface Description Alert CapabilitiesDescribes a series of key/value pairs that encapsulate aspects of a browser. ContextAwareSome implementations of WebDriver, notably those that support native testing, need the ability to switch between the native and web-based contexts. HasCapabilitiesUsed by classes to indicate that they can describe the
Class Summary Class Description BuildInfoReads information about how the current application was built. ByMechanism used to locate elements within a document. By.ByClassName By.ByCssSelector By.ById By.ByLinkText By.ByName By.ByPartialLinkText By.ByTagName By.ByXPath Cookie Cookie.Builder DeviceRotationDefines an object which represents the three dimensional plane and how a device can be rotated about it. DimensionSimilar to Point - implement locally to avoid depending on GWT. ImmutableCapabilities MutableCapabilities PointA copy of java.awt.Point, to remove dependency on awt. ProxyConfiguration parameters for using proxies in WebDriver. Rectangle
Enum Summary Enum Description ArchitectureRepresents the known architectures used in WebDriver. KeysRepresentations of pressable keys that aren't text. PageLoadStrategy PlatformRepresents the known and supported Platforms that WebDriver runs on. Proxy.ProxyType ScreenOrientationRepresents possible screen orientations. UnexpectedAlertBehaviour WindowTypeRepresents the type of a new browser window that may be created.
Exception Summary Exception Description ElementClickInterceptedExceptionIndicates that a click could not be properly executed because the target element was obscured in some way. ElementNotInteractableExceptionThrown to indicate that although an element is present on the DOM, it is not in a state that can be interacted with. ElementNotSelectableExceptionThrown to indicate that although an element is present on the DOM, it is not selectable, and so is not able to be interacted with. ElementNotVisibleExceptionThrown to indicate that although an element is present on the DOM, it is not visible, and so is not able to be interacted with. ImeActivationFailedExceptionIndicates that activating an IME engine has failed. ImeNotAvailableExceptionIndicates that IME support is not available. InvalidArgumentException InvalidCookieDomainExceptionThrown when attempting to add a cookie under a different domain than the current URL. InvalidElementStateExceptionIndicates that a
WebElementis in a state that means actions cannot be performed with it.
NoSuchCookieException NoSuchElementException NoSuchFrameException NoSuchSessionExceptionThrown by any command being called after
NoSuchWindowException NotFoundException ScriptTimeoutExceptionThrown when an async execute script command does not complete in enough time. SessionNotCreatedExceptionIndicates that a session could not be created. StaleElementReferenceExceptionIndicates that a reference to an element is now "stale" --- the element no longer appears on the DOM of the page. TimeoutExceptionThrown when a command does not complete in enough time. UnableToSetCookieExceptionThrown when a driver fails to set a cookie. UnhandledAlertException UnsupportedCommandExceptionUsed to indicate that a command used by the remote webdriver is unsupported. WebDriverException
Annotation Types Summary Annotation Type Description BetaIndicates that a feature or API is in active development, and so should not be relied upon.