The cl-webdriver-client Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The cl-webdriver-client Reference Manual

This is the cl-webdriver-client Reference Manual, generated automatically by Declt version 3.0 "Montgomery Scott" on Wed Oct 13 10:18:47 2021 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

CL WebDriver Client

CL Webdriver Client is client library for WebDriver.

WebDriver is a remote control interface that enables introspection and control of user agents. It provides a platform- and language-neutral wire protocol as a way for out-of-process programs to remotely instruct the behavior of web browsers.

Provided is a set of interfaces to discover and manipulate DOM elements in web documents and to control the behavior of a user agent. It is primarily intended to allow web authors to write tests that automate a user agent from a separate controlling process, but may also be used in such a way as to allow in-browser scripts to control a — possibly separate — browser.

See W3C WebDriver spec, W3C Webdriver spec}.

NOTE: This is a fork of CL Selenium WebDriver, a binding library to the Selenium.

Usage

;; see examples/*.lisp and t/*.lisp
(in-package :cl-user)

(ql:quickload :cl-webdriver-client)

(defpackage go-test
  (:use :cl :webdriver-client))

(in-package :go-test)

(defparameter *code* "
package main
import \"fmt\"

func main() {
    fmt.Print(\"Hello WebDriver!\")
}")

(with-session ()
  (setf (url) "http://play.golang.org/?simple=1")
  (let ((elem (find-element "#code" :by :css-selector)))
    (element-clear elem)
    (element-send-keys elem *code*))
  (let ((btn (find-element "#run")))
    (element-click btn))

  (loop
     with div = (find-element "#output")
     for ouput = (element-text div)
     while (equal ouput "Waiting for remote server...")
     do (sleep 0.1)
     finally (print ouput)))

Installation

git clone https://github.com/copyleft/cl-webdriver-client ~/quicklisp/local-projects/
(ql:quickload :cl-webdriver-client)

You need a running instance of selenium-server-standalone version 4.0.0 or above.

Download it and run:

java -jar selenium-server-standalone.jar standalone

Utils

There's a webdriver-client-utils package which should reduce boilerplate.

The exported definitions work with an implicit element. The default implicit element is the current active element. So, it is not neccesary to pass the element you are working with around most of the time.

For example:

(defpackage my-test
  (:use :cl :webdriver-client)
  (:import-from :webdriver-client-utils
                :send-keys
                :click
                :wait-for
                :classlist))

(in-package :my-test)

(with-session ()
  (setf (url) "http://google.com")
  (send-keys "cl-webdriver-client")
  (click "[name=btnK]")
  (wait-for "#resultStats"))

Interactive session

You can just start the session and control it from your repl:

(in-package :my-test)

(start-interactive-session)

(setf (url) "http://google.com")
(send-keys "cl-webdriver-client")
(send-keys (key :enter))
(classlist "#slim_appbar") ; prints ("ab_tnav_wrp")

(stop-interactive-session)

Utils API conventions

If utility function needs an element to work on it defaults to (active-element).

(click) ; click on the current active element.

You can also pass a css selector as a last parameter.

(print (id "#submit")) ; print id the of matched element

(assert (= (first (classlist "div")) "first-div-ever"))

To change default element you can:

(setf webdriver-client-utils:*default-element-func* (lambda () (find-element "input[type=submit]"))

Waiting for the reaction

Often you need to wait for some action to be done. For example if you do a (click) on the button to load search results, you need to wait them to load.

(wait-for ".search-result" :timeout 10) ; wait 10 seconds

Timeout defaults to 30 seconds. You can globally change it:

(setf webdriver-client-utils:*timeout* 3)

Running tests

REPL

(ql:quickload '(:cl-webdriver-client :prove))
(setf prove:*enable-colors* nil)
(prove:run :cl-webdriver-client-test)

Shell

./test.sh

Copyright

Licensed under the MIT Licen


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 cl-webdriver-client

Authors

TatriX <tatrics@gmail.com>
Mariano Montone <marianomontone@gmail.com>

License

MIT

Description

cl-webdriver-client is a binding library to the Selenium 4.0

Dependencies
Source

cl-webdriver-client.asd (file)

Component

src (module)


Next: , Previous: , Up: Top   [Contents][Index]

3 Modules

Modules are listed depth-first from the system components tree.


Previous: , Up: Modules   [Contents][Index]

3.1 cl-webdriver-client/src

Parent

cl-webdriver-client (system)

Location

src/

Components

Next: , Previous: , Up: Top   [Contents][Index]

4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

4.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.1 cl-webdriver-client.asd

Location

cl-webdriver-client.asd

Systems

cl-webdriver-client (system)


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.2 cl-webdriver-client/src/package.lisp

Parent

src (module)

Location

src/package.lisp

Packages

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.3 cl-webdriver-client/src/errors.lisp

Parent

src (module)

Location

src/errors.lisp

Exported Definitions

no-such-element-error (condition)

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.4 cl-webdriver-client/src/capabilities.lisp

Parent

src (module)

Location

src/capabilities.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.5 cl-webdriver-client/src/session.lisp

Parent

src (module)

Location

src/session.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.6 cl-webdriver-client/src/contexts.lisp

Parent

src (module)

Location

src/contexts.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.7 cl-webdriver-client/src/cookie.lisp

Parent

src (module)

Location

src/cookie.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.8 cl-webdriver-client/src/keys.lisp

Parent

src (module)

Location

src/keys.lisp

Exported Definitions
Internal Definitions

*keymap* (special variable)


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.9 cl-webdriver-client/src/mouse.lisp

Parent

src (module)

Location

src/mouse.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.10 cl-webdriver-client/src/user-prompts.lisp

Parent

src (module)

Location

src/user-prompts.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.11 cl-webdriver-client/src/actions.lisp

Parent

src (module)

Location

src/actions.lisp

Exported Definitions

perform-actions (function)

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.12 cl-webdriver-client/src/http.lisp

Parent

src (module)

Location

src/http.lisp

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.13 cl-webdriver-client/src/webdriver.lisp

Parent

src (module)

Location

src/webdriver.lisp

Exported Definitions
Internal Definitions

Previous: , Up: Lisp files   [Contents][Index]

4.1.14 cl-webdriver-client/src/utils.lisp

Parent

src (module)

Location

src/utils.lisp

Exported Definitions

Next: , Previous: , Up: Top   [Contents][Index]

5 Packages

Packages are listed by definition order.


Next: , Previous: , Up: Packages   [Contents][Index]

5.1 webdriver-client-utils

Package with the purpose of reducing boilerplate.

The exported definitions work with an implicit element. The default implicit element is the current active element. So, it is not neccesary to pass the element you are working with around most of the time.

Source

package.lisp (file)

Use List
Exported Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.2 webdriver-client-user

User package for interacting with WebDriver (interactive session).

Source

package.lisp (file)

Nickname

webdriver-user

Use List

Previous: , Up: Packages   [Contents][Index]

5.3 webdriver-client

This package exports functions for working with Selenium WebDriver.

For documentation see:
- https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol - https://www.w3.org/TR/webdriver1

Source

package.lisp (file)

Nickname

webdriver

Use List
Used By List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

6.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.1 Special variables

Special Variable: *default-capabilities*

The default capabilities.

Category: Capabilities

Package

webdriver-client

Source

capabilities.lisp (file)

Special Variable: *default-element-func*

Function used to get the ’default element’ by selenium-utils functions. It is ACTIVE-ELEMENT function by default.

Package

webdriver-client-utils

Source

utils.lisp (file)

Special Variable: *timeout*

Default timeout value to use in selenium-utils functions.

Package

webdriver-client-utils

Source

utils.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.2 Macros

Macro: with-session CAPABILITIES &body BODY

Starts a new session, and evaluates BODY in the context of that session. The session is deleted when finished.

Category: Session
See: MAKE-SESSION

Package

webdriver-client

Source

session.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.3 Functions

Function: accept-alert &key SESSION

Accept Alert.

Category: User prompts
See: https://www.w3.org/TR/webdriver1/#dfn-accept-alert

Package

webdriver-client

Source

user-prompts.lisp (file)

Function: active-element &key SESSION

Return the active element of the current browsing context’s document.
The active element is the Element within the DOM that currently has focus. If there’s no active element, an error is signaled.

Category: Elements
See: https://www.w3.org/TR/webdriver2/#get-active-element.
See: https://developer.mozilla.org/en-US/docs/Web/API/Document/activeElement.

Package

webdriver-client

Source

webdriver.lisp (file)

Function: alert-text &key SESSION

Get Alert Text.

Category: User prompts
See: https://www.w3.org/TR/webdriver1/#get-alert-text

Package

webdriver-client

Source

user-prompts.lisp (file)

Writer

(setf alert-text) (function)

Function: (setf alert-text) TEXT &key SESSION

The Send Alert Text command sets the text field of a window.prompt user prompt to the given value.

Category: User prompts
See: https://www.w3.org/TR/webdriver1/#send-alert-text

Package

webdriver-client

Source

user-prompts.lisp (file)

Reader

alert-text (function)

Function: attr NAME &optional SELECTOR

Get acttive element attribute.

Package

webdriver-client-utils

Source

utils.lisp (file)

Function: back &key SESSION

This command causes the browser to traverse one step backward in the joint session history of the current top-level browsing context. This is equivalent to pressing the back button in the browser chrome or invoking window.history.back.

Category: Navigation
See: https://www.w3.org/TR/webdriver1/#dfn-back .

Package

webdriver-client

Source

webdriver.lisp (file)

Function: chrome-capabilities &rest OPTIONS

Specifies Chrome specific capabilities.

Category: Capabilities https://chromedriver.chromium.org/capabilities#h.p_ID_102

Package

webdriver-client

Source

capabilities.lisp (file)

Function: classlist &optional SELECTOR

Get active element class list.

Package

webdriver-client-utils

Source

utils.lisp (file)

Function: classname &optional SELECTOR

Get active element classname.

Package

webdriver-client-utils

Source

utils.lisp (file)

Function: click &optional SELECTOR

Click on active element.

Package

webdriver-client-utils

Source

utils.lisp (file)

Function: close-window &key SESSION

Close the current window.

See: https://www.w3.org/TR/webdriver1/#close-window Category: Contexts

Package

webdriver-client

Source

contexts.lisp (file)

Retrieve all cookies visible to the current page.

Category: Cookies
See: https://www.w3.org/TR/webdriver1/#get-all-cookies .
See: https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidcookie .

Package

webdriver-client

Source

cookie.lisp (file)

Writer

(setf cookie) (function)

Create a cookie in the cookie store associated with the active document’s address using cookie name name, cookie value value, and an attribute-value list of the following cookie concepts listed in the table for cookie conversion from data:

If there is an error during this step, return error with error code unable to set cookie.

See: https://www.w3.org/TR/webdriver1/#dfn-adding-a-cookie .

Package

webdriver-client

Source

cookie.lisp (file)

Reader

cookie (function)

Function: delete-all-cookies &key SESSION

Deletes all cookies

Category: Cookies
See: https://www.w3.org/TR/webdriver1/#delete-all-cookies

Package

webdriver-client

Source

cookie.lisp (file)

Function: delete-cookie COOKIE-NAME &key SESSION

Delete the cookie with name COOKIE-NAME.

Category: Cookies
See: https://www.w3.org/TR/webdriver1/#delete-cookie

Package

webdriver-client

Source

cookie.lisp (file)

Function: delete-session SESSION

Delete the WebDriver SESSION.

Category: Session

Package

webdriver-client

Source

session.lisp (file)

Function: dismiss-alert &key SESSION

The Dismiss Alert command dismisses a simple dialog if present. A request to dismiss an alert user prompt, which may not necessarily have a dismiss button, has the same effect as accepting it.

Category: User prompts
See: https://www.w3.org/TR/webdriver1/#dismiss-alert

Package

webdriver-client

Source

user-prompts.lisp (file)

Function: elem &optional SELECTOR

If SELECTOR is given, wait for an element that matches the selector to appear. Otherwise, call *DEFAULT-ELEMENT-FUNC* (the active element is returned by default).

Package

webdriver-client-utils

Source

utils.lisp (file)

Function: element-attribute ELEMENT NAME &key SESSION

Return the ELEMENT’s attribute named NAME.

Category: Elements

Package

webdriver-client

Source

webdriver.lisp (file)

Function: element-clear ELEMENT &key SESSION

Clear the contents of ELEMENT (for example, a form field element).

Category: Element interaction
See: https://www.w3.org/TR/webdriver1/#dfn-element-clear.

Package

webdriver-client

Source

webdriver.lisp (file)

Function: element-click ELEMENT &key SESSION

The Element Click command scrolls into view the element if it is not already pointer-interactable, and clicks its in-view center point.

If the element’s center point is obscured by another element, an element click intercepted error is returned. If the element is outside the viewport, an element not interactable error is returned.

Category: Element interaction
See: https://www.w3.org/TR/webdriver1/#element-click .

Package

webdriver-client

Source

webdriver.lisp (file)

Function: element-displayed ELEMENT &key SESSION

Returns T if ELEMENT is visible.

Category: Elements
See: https://www.w3.org/TR/webdriver1/#element-displayedness .

Package

webdriver-client

Source

webdriver.lisp (file)

Function: element-enabled ELEMENT &key SESSION

Returns T if ELEMENT is enabled.

Category: Elements
See: https://www.w3.org/TR/webdriver1/#is-element-enabled .

Package

webdriver-client

Source

webdriver.lisp (file)

Function: element-rect ELEMENT &key SESSION

The Get Element Rect command returns the dimensions and coordinates of the given web element. The returned value is a dictionary with the following members:

x
X axis position of the top-left corner of the web element relative to the current browsing context’s document element in CSS pixels.
y
Y axis position of the top-left corner of the web element relative to the current browsing context’s document element in CSS pixels.
height
Height of the web element’s bounding rectangle in CSS pixels.
width
Width of the web element’s bounding rectangle in CSS pixels.

Category: Elements

Package

webdriver-client

Source

webdriver.lisp (file)

Function: element-screenshot ELEMENT &key SESSION

The Take Element Screenshot command takes a screenshot of the visible region encompassed by the bounding rectangle of an element. If given a parameter argument scroll that evaluates to false, the element will not be scrolled into view.

Category: Screen capture
See: https://www.w3.org/TR/webdriver1/#take-element-screenshot .

Package

webdriver-client

Source

webdriver.lisp (file)

Function: element-send-keys ELEMENT KEYS &key SESSION

The Element Send Keys command scrolls into view the form control element and then sends the provided keys to the element. In case the element is not keyboard-interactable, an element not interactable error is returned.

KEYS should be a string or a list of characters or control character keywords.

For example:

(element-send-keys el (list :control #t))

See KEY and KEYS functions.

Category: Element interaction
See: https://www.w3.org/TR/webdriver1/#element-send-keys .

Package

webdriver-client

Source

webdriver.lisp (file)

Function: element-tagname ELEMENT &key SESSION

Return the ELEMENT’s tag name.

Category: Elements

Package

webdriver-client

Source

webdriver.lisp (file)

Function: element-text ELEMENT &key SESSION

The Get Element Text command intends to return an element’s text “as rendered”. An element’s rendered text is also used for locating a elements by their link text and partial link text.

Category: Elements
See: https://www.w3.org/TR/webdriver1/#get-element-text .

Package

webdriver-client

Source

webdriver.lisp (file)

Function: execute-script SCRIPT ARGS &key SESSION

Inject a snippet of JavaScript into the page for execution in the context of the currently selected frame. The executed script is assumed to be synchronous and the result of evaluating the script is returned to the client.

The script argument defines the script to execute in the form of a function body. The value returned by that function will be returned to the client. The function will be invoked with the provided args array and the values may be accessed via the arguments object in the order specified.

Arguments may be any JSON-primitive, array, or JSON object. JSON objects that define a WebElement reference will be converted to the corresponding DOM element. Likewise, any WebElements in the script result will be returned to the client as WebElement JSON objects.

Category: Document handling
See: https://www.w3.org/TR/webdriver1/#executing-script .

Package

webdriver-client

Source

webdriver.lisp (file)

Function: find-cookie COOKIE-NAME &key SESSION

Retrieve the cookie with name COOKIE-NAME.

Category: Cookies
See: https://www.w3.org/TR/webdriver1/#get-named-cookie

Package

webdriver-client

Source

cookie.lisp (file)

Function: find-elem SELECTOR &key BY

Find element by SELECTOR. Returns NIL if the element is not found.

Package

webdriver-client-utils

Source

utils.lisp (file)

Function: find-element VALUE &key BY SESSION

The Find Element command is used to find an element in the current browsing context that can be used as the web element context for future element-centric commands.

For example, consider this pseudo code which retrieves an element with the #toremove ID and uses this as the argument for a script it injects to remove it from the HTML document:

let body = session.find.css("#toremove");
session.execute("arguments[0].remove()", [body]);

The BY parameter represents the element location strategy.

It can be one of:
- :id : Finds element by id.
- :class-name : Finds element by class name.
- :css-selector : Returns element that matches css selector.
- :link-text : Returns element that matches <a> element text.
- :partial-link-text: Returns element that matches <a> element text partially.
- :tag-name: Returns element that matches tag name.
- :xpath: Returns element that matches the XPath expression.

If result is empty, a HANDLE-FIND-ERROR is signaled.

Category: Elements
See: https://www.w3.org/TR/webdriver1/#dfn-find-element .

Package

webdriver-client

Source

webdriver.lisp (file)

Function: find-elements VALUE &key BY SESSION

Find elements that match VALUE using location strategy in BY.

Category: Elements
See FIND-ELEMENT.
See https://www.w3.org/TR/webdriver1/#find-elements .

Package

webdriver-client

Source

webdriver.lisp (file)

Function: firefox-capabilities &rest OPTIONS

Specify capabilities for Firefox browser.

Example usage:

(firefox-capabilities :args #("–headless"))

Category: Capabilities
See: https://developer.mozilla.org/en-US/docs/Web/WebDriver/Capabilities/firefoxOptions

Package

webdriver-client

Source

capabilities.lisp (file)

Function: get-cookie COOKIE NAME

Get value of COOKIE at NAME.

Package

webdriver-client-utils

Source

utils.lisp (file)

Function: get-window-handle &key SESSION

Returns the window handle associated with the current top-level browsing context. See: https://www.w3.org/TR/webdriver1/#get-window-handle
Category: Contexts

Package

webdriver-client

Source

contexts.lisp (file)

Function: get-window-handles &key SESSION

Returns the window handles associated with ech top-level browsing context. See: https://www.w3.org/TR/webdriver1/#get-window-handles
Category: Contexts

Package

webdriver-client

Source

contexts.lisp (file)

Function: id &optional SELECTOR

Get active element id.

Package

webdriver-client-utils

Source

utils.lisp (file)

Function: key KEY

Returns a string with KEY’s codepoint.

Category: Actions
See: https://www.w3.org/TR/webdriver/#keyboard-actions

Package

webdriver-client

Source

keys.lisp (file)

Function: keys &rest KEYS

Returns a string with characters and control keyword charcters in KEYS list.

Example:

(keys :control #t)

Category: Actions
See: https://www.w3.org/TR/webdriver/#keyboard-actions

Package

webdriver-client

Source

keys.lisp (file)

Function: log-types &key SESSION

Return the types of logs supported by the WebDriver.

- browser: Javascript console logs from the browser.
- client: Logs from the client side implementation of the WebDriver protocol (e.g. the Java bindings).
- driver: Logs from the internals of the driver (e.g. FirefoxDriver internals).
- performance: Logs relating to the performance characteristics of the page under test (e.g. resource load timings). - server: Logs from within the selenium server.

See: https://github.com/SeleniumHQ/selenium/wiki/Logging .

Package

webdriver-client

Source

webdriver.lisp (file)

Function: logs TYPE &key SESSION

Return the logs of a particular TYPE. See: LOG-TYPES.

Package

webdriver-client

Source

webdriver.lisp (file)

Function: make-capabilities &key (ALWAYS-MATCH ALWAYS-MATCH) (FIRST-MATCH FIRST-MATCH)
Package

webdriver-client

Source

capabilities.lisp (file)

Function: make-cookie NAME VALUE &key PATH DOMAIN SECURE EXPIRY

Create a cookie object.

Category: Cookies

Package

webdriver-client

Source

cookie.lisp (file)

Function: make-session &optional CAPABILITIES

Creates a new WebDriver session with the endpoint node. If the creation fails, a session not created error is returned.

CAPABILITIES are the capabilities to negotate for the new session. If it is NIL, then *DEFAULT-CAPABILITIES* are used. If it is a list, then it is use as parameters for MAKE-CAPABILITIES to build a new CAPABILITIES object. Otherwise, it is assumed to be a CAPABILITIES object.

Category: Session
See: https://www.w3.org/TR/webdriver1/#new-session .
See: https://www.w3.org/TR/webdriver1/#capabilities .

Package

webdriver-client

Source

session.lisp (file)

Function: merge-capabilities CAP1 CAP2

Merge two capabilities

Category: Capabilities

Package

webdriver-client

Source

capabilities.lisp (file)

Function: mouse-click BUTTON &key SESSION

Click any mouse button (at the coordinates set by the last moveto command). Note that calling this command after calling buttondown and before calling button up (or any out-of-order interactions sequence) will yield undefined behaviour).

See: https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidclick

Package

webdriver-client

Source

mouse.lisp (file)

Function: mouse-move-to X Y &key ELEMENT SESSION

Move the mouse by an offset of the specificed element. If no element is specified, the move is relative to the current mouse cursor. If an element is provided but no offset, the mouse will be moved to the center of the element. If the element is not visible, it will be scrolled into view.

See: https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidmoveto

Package

webdriver-client

Source

mouse.lisp (file)

Function: new-window &key SESSION

Create a new top-level browsing context.

Category: Contexts
See: https://w3c.github.io/webdriver/#new-window

Package

webdriver-client

Source

contexts.lisp (file)

Function: page-source &key SESSION

Returns a string serialization of the DOM of the current browsing context active document.

Category: Navigation
See: https://www.w3.org/TR/webdriver1/#get-page-source

Package

webdriver-client

Source

webdriver.lisp (file)

Function: page-title &key SESSION

This command returns the document title of the current top-level browsing context, equivalent to calling document.title.

Category: Navigation
See: https://www.w3.org/TR/webdriver2/#get-title .

Package

webdriver-client

Source

webdriver.lisp (file)

Function: perform-actions ACTIONS &optional SESSION

The Actions API provides a low-level interface for providing virtualised device input to the web browser.
Conceptually, the Actions commands divide time into a series of ticks. The local end sends a series of actions which correspond to the change in state, if any, of each input device during each tick. For example, pressing a key is represented by an action sequence consisting of a single key input device and two ticks, the first containing a keyDown action, and the second a keyUp action, whereas a pinch-zoom input is represented by an action sequence consisting of three ticks and two pointer input devices of type touch, each performing a sequence of actions pointerDown, followed by pointerMove, and then pointerUp.

Category: Actions
See: https://www.w3.org/TR/webdriver/#actions

Package

webdriver-client

Source

actions.lisp (file)

Function: refresh &key SESSION

Refresh the current page.

Category: Navigation

Package

webdriver-client

Source

webdriver.lisp (file)

Function: screenshot &key SESSION

Screenshots are a mechanism for providing additional visual diagnostic information. They work by dumping a snapshot of the initial viewport’s framebuffer as a lossless PNG image. It is returned to the local end as a Base64 encoded string.

Category: Screen capture
See: https://www.w3.org/TR/webdriver2/#screen-capture .

Package

webdriver-client

Source

webdriver.lisp (file)

Function: send-key KEY &optional SELECTOR

Send a key to active element.

Package

webdriver-client-utils

Source

utils.lisp (file)

Function: send-keys KEYS &optional SELECTOR

Send keys to active element.

Package

webdriver-client-utils

Source

utils.lisp (file)

Function: start-interactive-session &optional CAPABILITIES

Start an interactive session. Use this to interact with Selenium driver from a REPL.

Category: Session
See: MAKE-SESSION

Package

webdriver-client

Source

session.lisp (file)

Function: stop-interactive-session &optional IGNORE-ERRORS

Stop an interactive session.

Sometimes *SESSION* could be out of sync with Webdriver instance. In that case we may want to ignore errors when trying to delete the session. IGNORE-ERRORS argument controls that.

Category: Session

Package

webdriver-client

Source

session.lisp (file)

Function: switch-to-frame ID &key SESSION

Change focus to another frame on the page. If the frame id is null, the server
should switch to the page’s default content.

In the context of a web browser, a frame is a part of a web page or browser window which displays content independent of its container, with the ability to load content independently.

Category: Contexts
See: https://www.w3.org/TR/webdriver1/#switch-to-frame

Package

webdriver-client

Source

contexts.lisp (file)

Function: switch-to-window WINDOW-HANDLE &key SESSION

Switching window will select the current top-level browsing context used as the target for all subsequent commands. In a tabbed browser, this will typically make the tab containing the browsing context the selected tab.

WINDOW-HANDLE is the handle of the window obtained via GET-WINDOW-HANDLE.

See: https://www.w3.org/TR/webdriver1/#switch-to-window
Category: Contexts

Package

webdriver-client

Source

contexts.lisp (file)

Function: text &optional SELECTOR

Get active element’s text.

Package

webdriver-client-utils

Source

utils.lisp (file)

Function: url &key SESSION

Get the current url in session.

Category: Navigation
See: https://www.w3.org/TR/webdriver1/#dfn-get-current-url .

Package

webdriver-client

Source

webdriver.lisp (file)

Writer

(setf url) (function)

Function: (setf url) URL &key SESSION

The command causes the user agent to navigate the current top-level browsing context to a new location.

Category: Navigation
See: https://www.w3.org/TR/webdriver1/#dfn-navigate-to .

Package

webdriver-client

Source

webdriver.lisp (file)

Reader

url (function)

Function: use-session SESSION

Make SESSION the current session.

Category: Session

Package

webdriver-client

Source

session.lisp (file)

Function: wait-for SELECTOR &key TIMEOUT

Wait for an element that matches SELECTOR to appear on the screen. TIMEOUT indicates how much time to wait (default is *TIMEOUT*).

Package

webdriver-client-utils

Source

utils.lisp (file)

Function: webdriver-status ()

Get WebDriver status information

Package

webdriver-client

Source

webdriver.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.4 Generic functions

Generic Function: element-id OBJECT
Package

webdriver-client

Methods
Method: element-id (ELEMENT element)

automatically generated reader method

Source

webdriver.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.5 Conditions

Condition: no-such-element-error ()

Error signaled when no such element is found.

Package

webdriver-client

Source

errors.lisp (file)

Direct superclasses

find-error (condition)


Previous: , Up: Exported definitions   [Contents][Index]

6.1.6 Classes

A cookie is described in [RFC6265] by a name-value pair holding the cookie’s data, followed by zero or more attribute-value pairs describing its characteristics.

Category: Cookies

Package

webdriver-client

Source

cookie.lisp (file)

Direct superclasses

standard-object (class)

Direct methods

encode-json (method)

Direct slots
Slot: name

The name of the cookie

Initargs

:name

Slot: value

The cookie value

Initargs

:value

Slot: path

The cookie path. Defaults to ’/’ if omitted when adding a cookie.

Initargs

:path

Slot: domain

The domain the cookie is visible to. Defaults to the current browsing context’s active document’s URL domain if omitted when adding a cookie.

Initargs

:domain

Slot: secure

Whether the cookie is a secure cookie. Defaults to false if omitted when adding a cookie.

Initargs

:secure

Slot: http-only

Whether the cookie is an HTTP only cookie. Defaults to false if omitted when adding a cookie.

Initargs

:http-only

Slot: expiry

When the cookie expires, specified in seconds since Unix Epoch. Must not be set if omitted when adding a cookie.

Initargs

:expiry


Previous: , Up: Definitions   [Contents][Index]

6.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.1 Special variables

Special Variable: *keymap*

See https://www.w3.org/TR/webdriver1/#keyboard-actions

Package

webdriver-client

Source

keys.lisp (file)

Special Variable: *prefix*
Package

webdriver-client

Source

http.lisp (file)

Special Variable: *session*

The current Selenium WebDriver session.

Package

webdriver-client

Source

session.lisp (file)

Special Variable: *uri*
Package

webdriver-client

Source

http.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.2 Macros

Macro: with-decode-and-handler BODY
Package

webdriver-client

Source

http.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.3 Functions

Function: by TYPE

An element location strategy is an enumerated attribute deciding what technique should be used to search for elements in the current browsing context. See: https://www.w3.org/TR/webdriver1/#dfn-strategy .

Package

webdriver-client

Source

webdriver.lisp (file)

Function: capabilities-always-match INSTANCE
Function: (setf capabilities-always-match) VALUE INSTANCE
Package

webdriver-client

Source

capabilities.lisp (file)

Function: capabilities-first-match INSTANCE
Function: (setf capabilities-first-match) VALUE INSTANCE
Package

webdriver-client

Source

capabilities.lisp (file)

Function: capabilities-p OBJECT
Package

webdriver-client

Source

capabilities.lisp (file)

Function: check RESPONSE

Validates the status of Selenium Webdriver response.

Package

webdriver-client

Source

http.lisp (file)

Function: copy-capabilities INSTANCE
Package

webdriver-client

Source

capabilities.lisp (file)

Function: decode JSON
Package

webdriver-client

Source

http.lisp (file)

Function: detect-platform-name ()
Package

webdriver-client

Source

capabilities.lisp (file)

Function: encode PLIST
Package

webdriver-client

Source

http.lisp (file)

Function: expand-action-item ACTION-ITEM
Package

webdriver-client

Source

actions.lisp (file)

Function: expand-actions ACTIONS
Package

webdriver-client

Source

actions.lisp (file)

Function: handle-find-error ERR &key VALUE BY

Signal the correct type of error depending on PROTOCOL-ERROR-STATUS.

See: https://www.w3.org/TR/webdriver1/#handling-errors

Package

webdriver-client

Source

webdriver.lisp (file)

Function: http-delete PATH
Package

webdriver-client

Source

http.lisp (file)

Function: http-delete-check PATH
Package

webdriver-client

Source

http.lisp (file)

Function: http-get PATH
Package

webdriver-client

Source

http.lisp (file)

Function: http-get-check PATH
Package

webdriver-client

Source

http.lisp (file)

Function: http-get-value PATH
Package

webdriver-client

Source

http.lisp (file)

Function: http-post PATH &rest PARAMS
Package

webdriver-client

Source

http.lisp (file)

Function: http-post-check PATH &rest PARAMS
Package

webdriver-client

Source

http.lisp (file)

Function: http-post-value PATH &rest PARAMS
Package

webdriver-client

Source

http.lisp (file)

Function: keyword-plist-p LIST

Check if LIST is a property list with keyword keys.

Package

webdriver-client

Source

session.lisp (file)

Function: make-uri PATH
Package

webdriver-client

Source

http.lisp (file)

Function: plist-p LIST

Check if LIST is a property list.

Package

webdriver-client

Source

session.lisp (file)

Function: protocol-error-error ERROR
Package

webdriver-client

Source

errors.lisp (file)

Function: serialize-capabilities CAPABILITIES
Package

webdriver-client

Source

capabilities.lisp (file)

Function: session-path SESSION FMT &rest ARGS
Package

webdriver-client

Source

session.lisp (file)

Function: value RESPONSE
Package

webdriver-client

Source

http.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.4 Generic functions

Generic Function: protocol-error-body CONDITION
Package

webdriver-client

Methods
Method: protocol-error-body (CONDITION protocol-error)
Source

errors.lisp (file)

Generic Function: protocol-error-status CONDITION
Package

webdriver-client

Methods
Method: protocol-error-status (CONDITION protocol-error)
Source

errors.lisp (file)

Generic Function: session-id OBJECT
Package

webdriver-client

Methods
Method: session-id (SESSION session)

automatically generated reader method

Source

session.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.5 Conditions

Condition: find-error ()
Package

webdriver-client

Source

errors.lisp (file)

Direct superclasses

error (condition)

Direct subclasses
Direct slots
Slot: value
Initargs

:value

Slot: by
Initargs

:by

Condition: protocol-error ()
Package

webdriver-client

Source

errors.lisp (file)

Direct superclasses

error (condition)

Direct methods
Direct slots
Slot: body
Initargs

:body

Readers

protocol-error-body (generic function)

Slot: status
Initargs

:status

Readers

protocol-error-status (generic function)

Condition: stale-element-reference ()
Package

webdriver-client

Source

errors.lisp (file)

Direct superclasses

find-error (condition)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.6 Structures

Structure: capabilities ()
Package

webdriver-client

Source

capabilities.lisp (file)

Direct superclasses

structure-object (structure)

Direct slots
Slot: always-match
Readers

capabilities-always-match (function)

Writers

(setf capabilities-always-match) (function)

Slot: first-match
Readers

capabilities-first-match (function)

Writers

(setf capabilities-first-match) (function)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.7 Classes

Class: element ()
Package

webdriver-client

Source

webdriver.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: id
Initargs

:id

Initform

(error "must supply :id")

Readers

element-id (generic function)

Class: session ()

A Selenium Webdriver session.

The server should maintain one browser per session. Commands sent to a session will be directed to the corresponding browser.

Package

webdriver-client

Source

session.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: id
Initargs

:id

Initform

(error "must supply an id")

Readers

session-id (generic function)


Previous: , Up: Internal definitions   [Contents][Index]

6.2.8 Types

Type: element-location-strategy ()

An element location strategy is an enumerated attribute deciding what technique should be used to search for elements in the current browsing context. See: https://www.w3.org/TR/webdriver1/#dfn-strategy .

Package

webdriver-client

Source

webdriver.lisp (file)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   C   F   L   M  
Index Entry  Section

C
cl-webdriver-client.asd: The cl-webdriver-client․asd file
cl-webdriver-client/src: The cl-webdriver-client/src module
cl-webdriver-client/src/actions.lisp: The cl-webdriver-client/src/actions․lisp file
cl-webdriver-client/src/capabilities.lisp: The cl-webdriver-client/src/capabilities․lisp file
cl-webdriver-client/src/contexts.lisp: The cl-webdriver-client/src/contexts․lisp file
cl-webdriver-client/src/cookie.lisp: The cl-webdriver-client/src/cookie․lisp file
cl-webdriver-client/src/errors.lisp: The cl-webdriver-client/src/errors․lisp file
cl-webdriver-client/src/http.lisp: The cl-webdriver-client/src/http․lisp file
cl-webdriver-client/src/keys.lisp: The cl-webdriver-client/src/keys․lisp file
cl-webdriver-client/src/mouse.lisp: The cl-webdriver-client/src/mouse․lisp file
cl-webdriver-client/src/package.lisp: The cl-webdriver-client/src/package․lisp file
cl-webdriver-client/src/session.lisp: The cl-webdriver-client/src/session․lisp file
cl-webdriver-client/src/user-prompts.lisp: The cl-webdriver-client/src/user-prompts․lisp file
cl-webdriver-client/src/utils.lisp: The cl-webdriver-client/src/utils․lisp file
cl-webdriver-client/src/webdriver.lisp: The cl-webdriver-client/src/webdriver․lisp file

F
File, Lisp, cl-webdriver-client.asd: The cl-webdriver-client․asd file
File, Lisp, cl-webdriver-client/src/actions.lisp: The cl-webdriver-client/src/actions․lisp file
File, Lisp, cl-webdriver-client/src/capabilities.lisp: The cl-webdriver-client/src/capabilities․lisp file
File, Lisp, cl-webdriver-client/src/contexts.lisp: The cl-webdriver-client/src/contexts․lisp file
File, Lisp, cl-webdriver-client/src/cookie.lisp: The cl-webdriver-client/src/cookie․lisp file
File, Lisp, cl-webdriver-client/src/errors.lisp: The cl-webdriver-client/src/errors․lisp file
File, Lisp, cl-webdriver-client/src/http.lisp: The cl-webdriver-client/src/http․lisp file
File, Lisp, cl-webdriver-client/src/keys.lisp: The cl-webdriver-client/src/keys․lisp file
File, Lisp, cl-webdriver-client/src/mouse.lisp: The cl-webdriver-client/src/mouse․lisp file
File, Lisp, cl-webdriver-client/src/package.lisp: The cl-webdriver-client/src/package․lisp file
File, Lisp, cl-webdriver-client/src/session.lisp: The cl-webdriver-client/src/session․lisp file
File, Lisp, cl-webdriver-client/src/user-prompts.lisp: The cl-webdriver-client/src/user-prompts․lisp file
File, Lisp, cl-webdriver-client/src/utils.lisp: The cl-webdriver-client/src/utils․lisp file
File, Lisp, cl-webdriver-client/src/webdriver.lisp: The cl-webdriver-client/src/webdriver․lisp file

L
Lisp File, cl-webdriver-client.asd: The cl-webdriver-client․asd file
Lisp File, cl-webdriver-client/src/actions.lisp: The cl-webdriver-client/src/actions․lisp file
Lisp File, cl-webdriver-client/src/capabilities.lisp: The cl-webdriver-client/src/capabilities․lisp file
Lisp File, cl-webdriver-client/src/contexts.lisp: The cl-webdriver-client/src/contexts․lisp file
Lisp File, cl-webdriver-client/src/cookie.lisp: The cl-webdriver-client/src/cookie․lisp file
Lisp File, cl-webdriver-client/src/errors.lisp: The cl-webdriver-client/src/errors․lisp file
Lisp File, cl-webdriver-client/src/http.lisp: The cl-webdriver-client/src/http․lisp file
Lisp File, cl-webdriver-client/src/keys.lisp: The cl-webdriver-client/src/keys․lisp file
Lisp File, cl-webdriver-client/src/mouse.lisp: The cl-webdriver-client/src/mouse․lisp file
Lisp File, cl-webdriver-client/src/package.lisp: The cl-webdriver-client/src/package․lisp file
Lisp File, cl-webdriver-client/src/session.lisp: The cl-webdriver-client/src/session․lisp file
Lisp File, cl-webdriver-client/src/user-prompts.lisp: The cl-webdriver-client/src/user-prompts․lisp file
Lisp File, cl-webdriver-client/src/utils.lisp: The cl-webdriver-client/src/utils․lisp file
Lisp File, cl-webdriver-client/src/webdriver.lisp: The cl-webdriver-client/src/webdriver․lisp file

M
Module, cl-webdriver-client/src: The cl-webdriver-client/src module

Jump to:   C   F   L   M  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   (  
A   B   C   D   E   F   G   H   I   K   L   M   N   P   R   S   T   U   V   W  
Index Entry  Section

(
(setf alert-text): Exported functions
(setf capabilities-always-match): Internal functions
(setf capabilities-first-match): Internal functions
(setf cookie): Exported functions
(setf url): Exported functions

A
accept-alert: Exported functions
active-element: Exported functions
alert-text: Exported functions
attr: Exported functions

B
back: Exported functions
by: Internal functions

C
capabilities-always-match: Internal functions
capabilities-first-match: Internal functions
capabilities-p: Internal functions
check: Internal functions
chrome-capabilities: Exported functions
classlist: Exported functions
classname: Exported functions
click: Exported functions
close-window: Exported functions
cookie: Exported functions
copy-capabilities: Internal functions

D
decode: Internal functions
delete-all-cookies: Exported functions
delete-cookie: Exported functions
delete-session: Exported functions
detect-platform-name: Internal functions
dismiss-alert: Exported functions

E
elem: Exported functions
element-attribute: Exported functions
element-clear: Exported functions
element-click: Exported functions
element-displayed: Exported functions
element-enabled: Exported functions
element-id: Exported generic functions
element-id: Exported generic functions
element-rect: Exported functions
element-screenshot: Exported functions
element-send-keys: Exported functions
element-tagname: Exported functions
element-text: Exported functions
encode: Internal functions
execute-script: Exported functions
expand-action-item: Internal functions
expand-actions: Internal functions

F
find-cookie: Exported functions
find-elem: Exported functions
find-element: Exported functions
find-elements: Exported functions
firefox-capabilities: Exported functions
Function, (setf alert-text): Exported functions
Function, (setf capabilities-always-match): Internal functions
Function, (setf capabilities-first-match): Internal functions
Function, (setf cookie): Exported functions
Function, (setf url): Exported functions
Function, accept-alert: Exported functions
Function, active-element: Exported functions
Function, alert-text: Exported functions
Function, attr: Exported functions
Function, back: Exported functions
Function, by: Internal functions
Function, capabilities-always-match: Internal functions
Function, capabilities-first-match: Internal functions
Function, capabilities-p: Internal functions
Function, check: Internal functions
Function, chrome-capabilities: Exported functions
Function, classlist: Exported functions
Function, classname: Exported functions
Function, click: Exported functions
Function, close-window: Exported functions
Function, cookie: Exported functions
Function, copy-capabilities: Internal functions
Function, decode: Internal functions
Function, delete-all-cookies: Exported functions
Function, delete-cookie: Exported functions
Function, delete-session: Exported functions
Function, detect-platform-name: Internal functions
Function, dismiss-alert: Exported functions
Function, elem: Exported functions
Function, element-attribute: Exported functions
Function, element-clear: Exported functions
Function, element-click: Exported functions
Function, element-displayed: Exported functions
Function, element-enabled: Exported functions
Function, element-rect: Exported functions
Function, element-screenshot: Exported functions
Function, element-send-keys: Exported functions
Function, element-tagname: Exported functions
Function, element-text: Exported functions
Function, encode: Internal functions
Function, execute-script: Exported functions
Function, expand-action-item: Internal functions
Function, expand-actions: Internal functions
Function, find-cookie: Exported functions
Function, find-elem: Exported functions
Function, find-element: Exported functions
Function, find-elements: Exported functions
Function, firefox-capabilities: Exported functions
Function, get-cookie: Exported functions
Function, get-window-handle: Exported functions
Function, get-window-handles: Exported functions
Function, handle-find-error: Internal functions
Function, http-delete: Internal functions
Function, http-delete-check: Internal functions
Function, http-get: Internal functions
Function, http-get-check: Internal functions
Function, http-get-value: Internal functions
Function, http-post: Internal functions
Function, http-post-check: Internal functions
Function, http-post-value: Internal functions
Function, id: Exported functions
Function, key: Exported functions
Function, keys: Exported functions
Function, keyword-plist-p: Internal functions
Function, log-types: Exported functions
Function, logs: Exported functions
Function, make-capabilities: Exported functions
Function, make-cookie: Exported functions
Function, make-session: Exported functions
Function, make-uri: Internal functions
Function, merge-capabilities: Exported functions
Function, mouse-click: Exported functions
Function, mouse-move-to: Exported functions
Function, new-window: Exported functions
Function, page-source: Exported functions
Function, page-title: Exported functions
Function, perform-actions: Exported functions
Function, plist-p: Internal functions
Function, protocol-error-error: Internal functions
Function, refresh: Exported functions
Function, screenshot: Exported functions
Function, send-key: Exported functions
Function, send-keys: Exported functions
Function, serialize-capabilities: Internal functions
Function, session-path: Internal functions
Function, start-interactive-session: Exported functions
Function, stop-interactive-session: Exported functions
Function, switch-to-frame: Exported functions
Function, switch-to-window: Exported functions
Function, text: Exported functions
Function, url: Exported functions
Function, use-session: Exported functions
Function, value: Internal functions
Function, wait-for: Exported functions
Function, webdriver-status: Exported functions

G
Generic Function, element-id: Exported generic functions
Generic Function, protocol-error-body: Internal generic functions
Generic Function, protocol-error-status: Internal generic functions
Generic Function, session-id: Internal generic functions
get-cookie: Exported functions
get-window-handle: Exported functions
get-window-handles: Exported functions

H
handle-find-error: Internal functions
http-delete: Internal functions
http-delete-check: Internal functions
http-get: Internal functions
http-get-check: Internal functions
http-get-value: Internal functions
http-post: Internal functions
http-post-check: Internal functions
http-post-value: Internal functions

I
id: Exported functions

K
key: Exported functions
keys: Exported functions
keyword-plist-p: Internal functions

L
log-types: Exported functions
logs: Exported functions

M
Macro, with-decode-and-handler: Internal macros
Macro, with-session: Exported macros
make-capabilities: Exported functions
make-cookie: Exported functions
make-session: Exported functions
make-uri: Internal functions
merge-capabilities: Exported functions
Method, element-id: Exported generic functions
Method, protocol-error-body: Internal generic functions
Method, protocol-error-status: Internal generic functions
Method, session-id: Internal generic functions
mouse-click: Exported functions
mouse-move-to: Exported functions

N
new-window: Exported functions

P
page-source: Exported functions
page-title: Exported functions
perform-actions: Exported functions
plist-p: Internal functions
protocol-error-body: Internal generic functions
protocol-error-body: Internal generic functions
protocol-error-error: Internal functions
protocol-error-status: Internal generic functions
protocol-error-status: Internal generic functions

R
refresh: Exported functions

S
screenshot: Exported functions
send-key: Exported functions
send-keys: Exported functions
serialize-capabilities: Internal functions
session-id: Internal generic functions
session-id: Internal generic functions
session-path: Internal functions
start-interactive-session: Exported functions
stop-interactive-session: Exported functions
switch-to-frame: Exported functions
switch-to-window: Exported functions

T
text: Exported functions

U
url: Exported functions
use-session: Exported functions

V
value: Internal functions

W
wait-for: Exported functions
webdriver-status: Exported functions
with-decode-and-handler: Internal macros
with-session: Exported macros

Jump to:   (  
A   B   C   D   E   F   G   H   I   K   L   M   N   P   R   S   T   U   V   W  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   *  
A   B   D   E   F   H   I   N   P   S   V  
Index Entry  Section

*
*default-capabilities*: Exported special variables
*default-element-func*: Exported special variables
*keymap*: Internal special variables
*prefix*: Internal special variables
*session*: Internal special variables
*timeout*: Exported special variables
*uri*: Internal special variables

A
always-match: Internal structures

B
body: Internal conditions
by: Internal conditions

D
domain: Exported classes

E
expiry: Exported classes

F
first-match: Internal structures

H
http-only: Exported classes

I
id: Internal classes
id: Internal classes

N
name: Exported classes

P
path: Exported classes

S
secure: Exported classes
Slot, always-match: Internal structures
Slot, body: Internal conditions
Slot, by: Internal conditions
Slot, domain: Exported classes
Slot, expiry: Exported classes
Slot, first-match: Internal structures
Slot, http-only: Exported classes
Slot, id: Internal classes
Slot, id: Internal classes
Slot, name: Exported classes
Slot, path: Exported classes
Slot, secure: Exported classes
Slot, status: Internal conditions
Slot, value: Exported classes
Slot, value: Internal conditions
Special Variable, *default-capabilities*: Exported special variables
Special Variable, *default-element-func*: Exported special variables
Special Variable, *keymap*: Internal special variables
Special Variable, *prefix*: Internal special variables
Special Variable, *session*: Internal special variables
Special Variable, *timeout*: Exported special variables
Special Variable, *uri*: Internal special variables
status: Internal conditions

V
value: Exported classes
value: Internal conditions

Jump to:   *  
A   B   D   E   F   H   I   N   P   S   V  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   C   E   F   N   P   S   T   W  
Index Entry  Section

C
capabilities: Internal structures
cl-webdriver-client: The cl-webdriver-client system
Class, cookie: Exported classes
Class, element: Internal classes
Class, session: Internal classes
Condition, find-error: Internal conditions
Condition, no-such-element-error: Exported conditions
Condition, protocol-error: Internal conditions
Condition, stale-element-reference: Internal conditions
cookie: Exported classes

E
element: Internal classes
element-location-strategy: Internal types

F
find-error: Internal conditions

N
no-such-element-error: Exported conditions

P
Package, webdriver-client: The webdriver-client package
Package, webdriver-client-user: The webdriver-client-user package
Package, webdriver-client-utils: The webdriver-client-utils package
protocol-error: Internal conditions

S
session: Internal classes
stale-element-reference: Internal conditions
Structure, capabilities: Internal structures
System, cl-webdriver-client: The cl-webdriver-client system

T
Type, element-location-strategy: Internal types

W
webdriver-client: The webdriver-client package
webdriver-client-user: The webdriver-client-user package
webdriver-client-utils: The webdriver-client-utils package

Jump to:   C   E   F   N   P   S   T   W