|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
Interface Summary | |
---|---|
Alert | |
Capabilities | Describes a series of key/value pairs that encapsulate aspects of a browser. |
HasCapabilities | Used by classes to indicate that they can describe the Capabilities
they possess. |
HasInputDevices | Interface implemented by each driver that allows access to the raw input devices. |
HasTouchScreen | Interface implemented by each driver that allows access to touch screen capabilities. |
JavascriptExecutor | Indicates that a driver can execute JavaScript, providing access to the mechanism to do so. |
Keyboard | Interface representing basic keyboard operations. |
Mouse | Interface representing basic mouse operations. |
OutputType<T> | Defines the output type for a screenshot. |
Rotatable | Represents rotation of the browser view for orientation-sensitive devices. |
SearchContext | |
TakesScreenshot | Indicates a driver that can capture a screenshot and store it in different ways. |
TouchScreen | Interface representing basic touch screen operations. |
WebDriver | The main interface to use for testing, which represents an idealised web browser. |
WebDriver.ImeHandler | An interface for managing input methods. |
WebDriver.Navigation | |
WebDriver.Options | An interface for managing stuff you would do in a browser menu |
WebDriver.TargetLocator | Used to locate a given frame or window. |
WebDriver.Timeouts | An interface for managing timeout behavior for WebDriver instances. |
WebElement | Represents an HTML element. |
Class Summary | |
---|---|
By | Mechanism 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 | |
Dimension | Similar to Point - implement locally to avoid depending on GWT. |
Point | A copy of java.awt.Point, to remove dependency on awt. |
Proxy | Configuration parameters for using proxies in WebDriver. |
Enum Summary | |
---|---|
Keys | Representations of pressable keys that aren't text. |
Platform | Represents the known and supported Platforms that WebDriver runs on. |
Proxy.ProxyType | |
ScreenOrientation | Represents possible screen orientations. |
Exception Summary | |
---|---|
ElementNotVisibleException | Thrown to indicate that although an element is present on the DOM, it is not visible, and so is not able to be interacted with. |
IllegalLocatorException | Thrown when a By cannot handle the arguments it is given. |
ImeActivationFailedException | Indicates that activating an IME engine has failed. |
ImeNotAvailableException | Indicates that IME support is not available. |
InvalidCookieDomainException | Thrown when attempting to add a cookie under a different domain than the current URL. |
InvalidElementStateException | |
InvalidSelectorException | |
NoAlertPresentException | Indicates that a user has tried to access an alert when one is not present. |
NoSuchElementException | Thrown by WebDriver.findElement(By by) and
WebElement.findElement(By by) . |
NoSuchFrameException | Thrown by WebDriver.switchTo().frame(int frameIndex)
and WebDriver.switchTo().frame(String frameName) . |
NoSuchWindowException | Thrown by WebDriver.switchTo().window(String
windowName) . |
NotFoundException | |
StaleElementReferenceException | Indicates that a reference to an element is now "stale" --- the element no longer appears on the DOM of the page. |
TimeoutException | Thrown when a command does not complete in enough time. |
UnableToSetCookieException | Thrown when a driver fails to set a cookie. |
UnhandledAlertException | |
UnsupportedCommandException | Used to indicate that a command used by the remote webdriver is unsupported. |
WebDriverException | |
XPathLookupException |
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |