Overview
-
module Async
-
module WebDriver
-
module Bridge
A bridge is a process that can be used to communicate with a browser.
-
class Chrome
A bridge to the Chrome browser using
chromedriver
. -
class Driver
Represents an instance of a locally running driver (usually with a process group).
-
class Firefox
A bridge to the Firefox browser using
geckodriver
. -
class Generic
Generic W3C WebDriver implementation.
-
class Pool
A pool of sessions, constructed from a bridge, which instantiates drivers as needed. Drivers are capable of supporting 1 ore more sessions.
-
class ProcessGroup
A group of processes that are all killed when the group is closed.
-
class ProcessDriver
-
class Safari
A bridge to the Safari browser using
safaridriver
. -
class UnsupportedError
-
-
class Client
A client for the WebDriver protocol.
-
class Element
An element represents a DOM element. This class is used to interact with the DOM.
-
class Attributes
Attributes associated with an element.
-
-
class Error
-
class ElementClickInterceptedError
The Element Click command could not be completed because the element receiving the events is obscuring the element that was requested clicked.
-
class ElementNotInteractableError
A command could not be completed because the element is not pointer- or keyboard interactable.
-
class InsecureCertificateError
Navigation caused the user agent to hit a certificate warning, which is usually the result of an expired or invalid TLS certificate.
-
class InvalidArgumentError
The arguments passed to a command are either invalid or malformed.
-
class InvalidCookieDomainError
An illegal attempt was made to set a cookie under a different domain than the current page.
-
class InvalidElementStateError
A 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 InvalidSelectorError
Argument was an invalid selector.
-
class InvalidSessionIdError
Occurs 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 JavaScriptError
An error occurred while executing JavaScript supplied by the user.
-
class MoveTargetOutOfBoundsError
The target for mouse interaction is not in the browser’s viewport and cannot be brought into that viewport.
-
class NoSuchAlertError
An attempt was made to operate on a modal dialog when one was not open.
-
class NoSuchCookieError
No cookie matching the given path name was found amongst the associated cookies of the current browsing context’s active document.
-
class NoSuchElementError
An element could not be located on the page using the given search parameters.
-
class NoSuchFrameError
A command to switch to a frame could not be satisfied because the frame could not be found.
-
class NoSuchWindowError
A command to switch to a window could not be satisfied because the window could not be found.
-
class NoSuchShadowRootError
The element does not have a shadow root.
-
class ScriptTimeoutError
A script did not complete before its timeout expired.
-
class SessionNotCreatedError
A new session could not be created.
-
class StaleElementReferenceError
A command failed because the referenced element is no longer attached to the DOM.
-
class DetachedShadowRootError
A command failed because the referenced shadow root is no longer attached to the DOM.
-
class TimeoutError
An operation did not complete before its timeout expired.
-
class UnableToSetCookieError
A command to set a cookie’s value could not be satisfied.
-
class UnableToCaptureScreenError
A screen capture was made impossible.
-
class UnexpectedAlertOpenError
A modal dialog was open, blocking this operation.
-
class UnknownCommandError
A command could not be executed because the remote end is not aware of it.
-
class UnknownError
An unknown error occurred in the remote end while processing the command.
-
class UnknownMethodError
The requested command matched a known URL but did not match any method for that URL.
-
class UnsupportedOperationError
Indicates that a command that should have executed properly cannot be supported for some reason.
-
class Locator
A locator is used to find elements in the DOM.
-
module RequestHelper
Wraps the HTTP client to provide a consistent interface.
-
module Scope
-
module Alerts
Helpers for working with alerts.
-
module Cookies
Helpers for working with cookies.
-
module Document
Helpers for working with the document.
-
module Elements
Helpers for finding elements.
-
module Fields
Helpers for working with forms and form fields.
-
module Frames
Helpers for working with frames.
-
module Navigation
Helpers for navigating the browser.
-
module Printing
Helpers for working with printing.
-
module ScreenCapture
Helpers for working with screen capture.
-
module Timeouts
Helpers for working with timeouts.
-
-
class Session
A session represents a single browser session, potentially with multiple windows. It is the primary interface for interacting with a browser.
-
module XPath
Helpers for working with XPath.
-
-