Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the cl-webdriver-client Reference Manual, generated automatically by Declt version 3.0 "Montgomery Scott" on Sun May 15 04:18:44 2022 GMT+0.
• Introduction | What cl-webdriver-client is all about | |
• Systems | The systems documentation | |
• Modules | The modules documentation | |
• Files | The files documentation | |
• Packages | The packages documentation | |
• Definitions | The symbols documentation | |
• Indexes | Concepts, functions, variables and data types |
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.
NOTE: This is a fork of CL Selenium WebDriver, a binding library to the Selenium.
;; 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)))
Available on Quicklisp:
(ql:quickload :cl-webdriver-client)
You also 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
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"))
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)
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]"))
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)
(ql:quickload '(:cl-webdriver-client :prove))
(setf prove:*enable-colors* nil)
(prove:run :cl-webdriver-client-test)
./test.sh
Licensed under the MIT Licen
Next: Modules, Previous: Introduction, Up: Top [Contents][Index]
The main system appears first, followed by any subsystem dependency.
• The cl-webdriver-client system |
TatriX <tatrics@gmail.com>
Mariano Montone <marianomontone@gmail.com>
MIT
cl-webdriver-client is a binding library to the Selenium 4.0
cl-webdriver-client.asd (file)
src (module)
Modules are listed depth-first from the system components tree.
• The cl-webdriver-client/src module |
cl-webdriver-client (system)
src/
Files are sorted by type and then listed depth-first from the systems components trees.
• Lisp files |
Next: The cl-webdriver-client/src/package․lisp file, Previous: Lisp files, Up: Lisp files [Contents][Index]
cl-webdriver-client.asd
cl-webdriver-client (system)
Next: The cl-webdriver-client/src/errors․lisp file, Previous: The cl-webdriver-client․asd file, Up: Lisp files [Contents][Index]
src (module)
src/package.lisp
Next: The cl-webdriver-client/src/capabilities․lisp file, Previous: The cl-webdriver-client/src/package․lisp file, Up: Lisp files [Contents][Index]
src (module)
src/errors.lisp
no-such-element-error (condition)
Next: The cl-webdriver-client/src/session․lisp file, Previous: The cl-webdriver-client/src/errors․lisp file, Up: Lisp files [Contents][Index]
src (module)
src/capabilities.lisp
Next: The cl-webdriver-client/src/contexts․lisp file, Previous: The cl-webdriver-client/src/capabilities․lisp file, Up: Lisp files [Contents][Index]
src (module)
src/session.lisp
Next: The cl-webdriver-client/src/cookie․lisp file, Previous: The cl-webdriver-client/src/session․lisp file, Up: Lisp files [Contents][Index]
src (module)
src/contexts.lisp
Next: The cl-webdriver-client/src/keys․lisp file, Previous: The cl-webdriver-client/src/contexts․lisp file, Up: Lisp files [Contents][Index]
src (module)
src/cookie.lisp
Next: The cl-webdriver-client/src/mouse․lisp file, Previous: The cl-webdriver-client/src/cookie․lisp file, Up: Lisp files [Contents][Index]
src (module)
src/keys.lisp
*keymap* (special variable)
Next: The cl-webdriver-client/src/window․lisp file, Previous: The cl-webdriver-client/src/keys․lisp file, Up: Lisp files [Contents][Index]
src (module)
src/mouse.lisp
Next: The cl-webdriver-client/src/user-prompts․lisp file, Previous: The cl-webdriver-client/src/mouse․lisp file, Up: Lisp files [Contents][Index]
src (module)
src/window.lisp
window-resize (function)
Next: The cl-webdriver-client/src/actions․lisp file, Previous: The cl-webdriver-client/src/window․lisp file, Up: Lisp files [Contents][Index]
src (module)
src/user-prompts.lisp
Next: The cl-webdriver-client/src/http․lisp file, Previous: The cl-webdriver-client/src/user-prompts․lisp file, Up: Lisp files [Contents][Index]
src (module)
src/actions.lisp
perform-actions (function)
Next: The cl-webdriver-client/src/webdriver․lisp file, Previous: The cl-webdriver-client/src/actions․lisp file, Up: Lisp files [Contents][Index]
src (module)
src/http.lisp
Next: The cl-webdriver-client/src/utils․lisp file, Previous: The cl-webdriver-client/src/http․lisp file, Up: Lisp files [Contents][Index]
src (module)
src/webdriver.lisp
Previous: The cl-webdriver-client/src/webdriver․lisp file, Up: Lisp files [Contents][Index]
src (module)
src/utils.lisp
Next: Definitions, Previous: Files, Up: Top [Contents][Index]
Packages are listed by definition order.
• The webdriver-client-utils package | ||
• The webdriver-client-user package | ||
• The webdriver-client package |
Next: The webdriver-client-user package, Previous: Packages, Up: Packages [Contents][Index]
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.
package.lisp (file)
Next: The webdriver-client package, Previous: The webdriver-client-utils package, Up: Packages [Contents][Index]
User package for interacting with WebDriver (interactive session).
package.lisp (file)
webdriver-user
Previous: The webdriver-client-user package, Up: Packages [Contents][Index]
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
package.lisp (file)
webdriver
Definitions are sorted by export status, category, package, and then by lexicographic order.
• Exported definitions | ||
• Internal definitions |
Next: Internal definitions, Previous: Definitions, Up: Definitions [Contents][Index]
• Exported special variables | ||
• Exported macros | ||
• Exported functions | ||
• Exported generic functions | ||
• Exported conditions | ||
• Exported classes |
Next: Exported macros, Previous: Exported definitions, Up: Exported definitions [Contents][Index]
The default capabilities.
Category: Capabilities
capabilities.lisp (file)
Function used to get the ’default element’ by selenium-utils functions. It is ACTIVE-ELEMENT function by default.
utils.lisp (file)
Default timeout value to use in selenium-utils functions.
utils.lisp (file)
Next: Exported functions, Previous: Exported special variables, Up: Exported definitions [Contents][Index]
Starts a new session, and evaluates BODY in the context of that session.
The session is deleted when finished.
Category: Session
See: MAKE-SESSION
session.lisp (file)
Next: Exported generic functions, Previous: Exported macros, Up: Exported definitions [Contents][Index]
Accept Alert.
Category: User prompts
See: https://www.w3.org/TR/webdriver1/#dfn-accept-alert
user-prompts.lisp (file)
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.
webdriver.lisp (file)
Get Alert Text.
Category: User prompts
See: https://www.w3.org/TR/webdriver1/#get-alert-text
user-prompts.lisp (file)
(setf alert-text) (function)
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
user-prompts.lisp (file)
alert-text (function)
Get acttive element attribute.
utils.lisp (file)
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 .
webdriver.lisp (file)
Specifies Chrome specific capabilities.
Category: Capabilities https://chromedriver.chromium.org/capabilities#h.p_ID_102
capabilities.lisp (file)
Get active element class list.
utils.lisp (file)
Get active element classname.
utils.lisp (file)
Click on active element.
utils.lisp (file)
Close the current window.
See: https://www.w3.org/TR/webdriver1/#close-window Category: Contexts
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 .
cookie.lisp (file)
(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 .
cookie.lisp (file)
cookie (function)
Deletes all cookies
Category: Cookies
See: https://www.w3.org/TR/webdriver1/#delete-all-cookies
cookie.lisp (file)
Delete the cookie with name COOKIE-NAME.
Category: Cookies
See: https://www.w3.org/TR/webdriver1/#delete-cookie
cookie.lisp (file)
Delete the WebDriver SESSION.
Category: Session
session.lisp (file)
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
user-prompts.lisp (file)
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).
utils.lisp (file)
Return the ELEMENT’s attribute named NAME.
Category: Elements
webdriver.lisp (file)
Clear the contents of ELEMENT (for example, a form field element).
Category: Element interaction
See: https://www.w3.org/TR/webdriver1/#dfn-element-clear.
webdriver.lisp (file)
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 .
webdriver.lisp (file)
Returns T if ELEMENT is visible.
Category: Elements
See: https://www.w3.org/TR/webdriver1/#element-displayedness .
webdriver.lisp (file)
Returns T if ELEMENT is enabled.
Category: Elements
See: https://www.w3.org/TR/webdriver1/#is-element-enabled .
webdriver.lisp (file)
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
webdriver.lisp (file)
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 .
webdriver.lisp (file)
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 .
webdriver.lisp (file)
Return the ELEMENT’s tag name.
Category: Elements
webdriver.lisp (file)
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 .
webdriver.lisp (file)
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 .
webdriver.lisp (file)
Retrieve the cookie with name COOKIE-NAME.
Category: Cookies
See: https://www.w3.org/TR/webdriver1/#get-named-cookie
cookie.lisp (file)
Find element by SELECTOR. Returns NIL if the element is not found.
utils.lisp (file)
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 .
webdriver.lisp (file)
Find elements that match VALUE using location strategy in BY.
Category: Elements
See FIND-ELEMENT.
See https://www.w3.org/TR/webdriver1/#find-elements .
webdriver.lisp (file)
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
capabilities.lisp (file)
Get value of COOKIE at NAME.
utils.lisp (file)
Returns the window handle associated with the current top-level browsing context.
See: https://www.w3.org/TR/webdriver1/#get-window-handle
Category: Contexts
contexts.lisp (file)
Returns the window handles associated with ech top-level browsing context.
See: https://www.w3.org/TR/webdriver1/#get-window-handles
Category: Contexts
contexts.lisp (file)
Get active element id.
utils.lisp (file)
Returns a string with KEY’s codepoint.
Category: Actions
See: https://www.w3.org/TR/webdriver/#keyboard-actions
keys.lisp (file)
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
keys.lisp (file)
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 .
webdriver.lisp (file)
Return the logs of a particular TYPE. See: LOG-TYPES.
webdriver.lisp (file)
capabilities.lisp (file)
Create a cookie object.
Category: Cookies
cookie.lisp (file)
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 .
session.lisp (file)
Merge two capabilities
Category: Capabilities
capabilities.lisp (file)
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
mouse.lisp (file)
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
mouse.lisp (file)
Create a new top-level browsing context.
Category: Contexts
See: https://w3c.github.io/webdriver/#new-window
contexts.lisp (file)
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
webdriver.lisp (file)
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 .
webdriver.lisp (file)
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
actions.lisp (file)
Refresh the current page.
Category: Navigation
webdriver.lisp (file)
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 .
webdriver.lisp (file)
Send a key to active element.
utils.lisp (file)
Send keys to active element.
utils.lisp (file)
Start an interactive session. Use this to interact with Selenium driver from a REPL.
Category: Session
See: MAKE-SESSION
session.lisp (file)
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
session.lisp (file)
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
contexts.lisp (file)
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
contexts.lisp (file)
Get active element’s text.
utils.lisp (file)
Get the current url in session.
Category: Navigation
See: https://www.w3.org/TR/webdriver1/#dfn-get-current-url .
webdriver.lisp (file)
(setf url) (function)
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 .
webdriver.lisp (file)
url (function)
Make SESSION the current session.
Category: Session
session.lisp (file)
Wait for an element that matches SELECTOR to appear on the screen. TIMEOUT indicates how much time to wait (default is *TIMEOUT*).
utils.lisp (file)
Get WebDriver status information
webdriver.lisp (file)
window.lisp (file)
Next: Exported conditions, Previous: Exported functions, Up: Exported definitions [Contents][Index]
automatically generated reader method
webdriver.lisp (file)
Next: Exported classes, Previous: Exported generic functions, Up: Exported definitions [Contents][Index]
Error signaled when no such element is found.
errors.lisp (file)
find-error (condition)
Previous: Exported conditions, Up: Exported definitions [Contents][Index]
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
cookie.lisp (file)
standard-object (class)
encode-json (method)
The name of the cookie
:name
The cookie value
:value
The cookie path. Defaults to ’/’ if omitted when adding a cookie.
:path
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.
:domain
Whether the cookie is a secure cookie. Defaults to false if omitted when adding a cookie.
:secure
Whether the cookie is an HTTP only cookie. Defaults to false if omitted when adding a cookie.
:http-only
When the cookie expires, specified in seconds since Unix Epoch. Must not be set if omitted when adding a cookie.
:expiry
Previous: Exported definitions, Up: Definitions [Contents][Index]
• Internal special variables | ||
• Internal macros | ||
• Internal functions | ||
• Internal generic functions | ||
• Internal conditions | ||
• Internal structures | ||
• Internal classes | ||
• Internal types |
Next: Internal macros, Previous: Internal definitions, Up: Internal definitions [Contents][Index]
See https://www.w3.org/TR/webdriver1/#keyboard-actions
keys.lisp (file)
http.lisp (file)
The current Selenium WebDriver session.
session.lisp (file)
http.lisp (file)
Next: Internal functions, Previous: Internal special variables, Up: Internal definitions [Contents][Index]
http.lisp (file)
Next: Internal generic functions, Previous: Internal macros, Up: Internal definitions [Contents][Index]
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 .
webdriver.lisp (file)
capabilities.lisp (file)
capabilities.lisp (file)
capabilities.lisp (file)
Validates the status of Selenium Webdriver response.
http.lisp (file)
capabilities.lisp (file)
http.lisp (file)
capabilities.lisp (file)
http.lisp (file)
actions.lisp (file)
actions.lisp (file)
window.lisp (file)
Signal the correct type of error depending on PROTOCOL-ERROR-STATUS.
See: https://www.w3.org/TR/webdriver1/#handling-errors
webdriver.lisp (file)
http.lisp (file)
http.lisp (file)
http.lisp (file)
http.lisp (file)
http.lisp (file)
http.lisp (file)
http.lisp (file)
http.lisp (file)
Check if LIST is a property list with keyword keys.
session.lisp (file)
http.lisp (file)
Check if LIST is a property list.
session.lisp (file)
errors.lisp (file)
capabilities.lisp (file)
session.lisp (file)
window.lisp (file)
http.lisp (file)
Next: Internal conditions, Previous: Internal functions, Up: Internal definitions [Contents][Index]
errors.lisp (file)
errors.lisp (file)
automatically generated reader method
session.lisp (file)
Next: Internal structures, Previous: Internal generic functions, Up: Internal definitions [Contents][Index]
errors.lisp (file)
error (condition)
:value
:by
errors.lisp (file)
error (condition)
:body
protocol-error-body (generic function)
:status
protocol-error-status (generic function)
errors.lisp (file)
find-error (condition)
Next: Internal classes, Previous: Internal conditions, Up: Internal definitions [Contents][Index]
capabilities.lisp (file)
structure-object (structure)
capabilities-always-match (function)
(setf capabilities-always-match) (function)
capabilities-first-match (function)
(setf capabilities-first-match) (function)
Next: Internal types, Previous: Internal structures, Up: Internal definitions [Contents][Index]
webdriver.lisp (file)
standard-object (class)
:id
(error "must supply :id")
element-id (generic function)
A Selenium Webdriver session.
The server should maintain one browser per session. Commands sent to a session will be directed to the corresponding browser.
session.lisp (file)
standard-object (class)
:id
(error "must supply an id")
session-id (generic function)
Previous: Internal classes, Up: Internal definitions [Contents][Index]
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 .
webdriver.lisp (file)
Previous: Definitions, Up: Top [Contents][Index]
• Concept index | ||
• Function index | ||
• Variable index | ||
• Data type index |
Next: Function index, Previous: Indexes, Up: Indexes [Contents][Index]
Jump to: | C F L M |
---|
Jump to: | C F L M |
---|
Next: Variable index, Previous: Concept index, Up: Indexes [Contents][Index]
Jump to: | (
A B C D E F G H I K L M N P R S T U V W |
---|
Jump to: | (
A B C D E F G H I K L M N P R S T U V W |
---|
Next: Data type index, Previous: Function index, Up: Indexes [Contents][Index]
Jump to: | *
A B D E F H I N P S V |
---|
Jump to: | *
A B D E F H I N P S V |
---|
Previous: Variable index, Up: Indexes [Contents][Index]
Jump to: | C E F N P S T W |
---|
Jump to: | C E F N P S T W |
---|