Overview
-
module Async-
module WebDriver-
module BridgeA bridge is a process that can be used to communicate with a browser.
-
class ChromeA bridge to the Chrome browser using
chromedriver. -
class DriverRepresents an instance of a locally running driver (usually with a process group).
-
class FirefoxA bridge to the Firefox browser using
geckodriver. -
class GenericGeneric W3C WebDriver implementation.
-
class PoolA pool of sessions, constructed from a bridge, which instantiates drivers as needed. Drivers are capable of supporting 1 ore more sessions.
-
class ProcessGroupA group of processes that are all killed when the group is closed.
-
class ProcessDriver -
class SafariA bridge to the Safari browser using
safaridriver. -
class UnsupportedError
-
-
class ClientA client for the WebDriver protocol.
-
class ElementAn element represents a DOM element. This class is used to interact with the DOM.
-
class AttributesAttributes associated with an element.
-
-
class Error -
class ElementClickInterceptedErrorThe Element Click command could not be completed because the element receiving the events is obscuring the element that was requested clicked.
-
class ElementNotInteractableErrorA command could not be completed because the element is not pointer- or keyboard interactable.
-
class InsecureCertificateErrorNavigation caused the user agent to hit a certificate warning, which is usually the result of an expired or invalid TLS certificate.
-
class InvalidArgumentErrorThe arguments passed to a command are either invalid or malformed.
-
class InvalidCookieDomainErrorAn illegal attempt was made to set a cookie under a different domain than the current page.
-
class InvalidElementStateErrorA command could not be completed because the element is in an invalid state, e.g. attempting to clear an element that isn’t both editable and resettable.
-
class InvalidSelectorErrorArgument was an invalid selector.
-
class InvalidSessionIdErrorOccurs if the given session id is not in the list of active sessions, meaning the session either does not exist or that it’s not active.
-
class JavaScriptErrorAn error occurred while executing JavaScript supplied by the user.
-
class MoveTargetOutOfBoundsErrorThe target for mouse interaction is not in the browser’s viewport and cannot be brought into that viewport.
-
class NoSuchAlertErrorAn attempt was made to operate on a modal dialog when one was not open.
-
class NoSuchCookieErrorNo cookie matching the given path name was found amongst the associated cookies of the current browsing context’s active document.
-
class NoSuchElementErrorAn element could not be located on the page using the given search parameters.
-
class NoSuchFrameErrorA command to switch to a frame could not be satisfied because the frame could not be found.
-
class NoSuchWindowErrorA command to switch to a window could not be satisfied because the window could not be found.
-
class NoSuchShadowRootErrorThe element does not have a shadow root.
-
class ScriptTimeoutErrorA script did not complete before its timeout expired.
-
class SessionNotCreatedErrorA new session could not be created.
-
class StaleElementReferenceErrorA command failed because the referenced element is no longer attached to the DOM.
-
class DetachedShadowRootErrorA command failed because the referenced shadow root is no longer attached to the DOM.
-
class TimeoutErrorAn operation did not complete before its timeout expired.
-
class UnableToSetCookieErrorA command to set a cookie’s value could not be satisfied.
-
class UnableToCaptureScreenErrorA screen capture was made impossible.
-
class UnexpectedAlertOpenErrorA modal dialog was open, blocking this operation.
-
class UnknownCommandErrorA command could not be executed because the remote end is not aware of it.
-
class UnknownErrorAn unknown error occurred in the remote end while processing the command.
-
class UnknownMethodErrorThe requested command matched a known URL but did not match any method for that URL.
-
class UnsupportedOperationErrorIndicates that a command that should have executed properly cannot be supported for some reason.
-
class LocatorA locator is used to find elements in the DOM.
-
module RequestHelperWraps the HTTP client to provide a consistent interface.
-
module Scope-
module AlertsHelpers for working with alerts.
-
module CookiesHelpers for working with cookies.
-
module DocumentHelpers for working with the document.
-
module ElementsHelpers for finding elements.
-
module FieldsHelpers for working with forms and form fields.
-
module FramesHelpers for working with frames.
-
module NavigationHelpers for navigating the browser.
-
module PrintingHelpers for working with printing.
-
module ScreenCaptureHelpers for working with screen capture.
-
module TimeoutsHelpers for working with timeouts.
-
-
class SessionA session represents a single browser session, potentially with multiple windows. It is the primary interface for interacting with a browser.
-
module XPathHelpers for working with XPath.
-
-