Liking cljdoc? Tell your friends :D

etaoin.query

A module to deal with querying elements.

This feels like a internal namespace. Why do folks need to use this directly? Maybe they are extending defmulti with more conversions?

A module to deal with querying elements.

This feels like a internal namespace.
Why do folks need to use this directly?
Maybe they are extending defmulti with more conversions?
raw docstring

expandclj

(expand driver q)

Return expanded query q for driver.

Return expanded query `q` for `driver`.
sourceraw docstring

locator-cssclj

source

locator-xpathclj

source

queryclj

(query locator term)
source

query-cssclj

(query-css term)
source

query-xpathclj

(query-xpath term)
source

to-querycljmultimethod

Return query for q for driver.

Conversion depends on type of q.

  • keyword -> converts to search on element id for q`
  • string -> converts to xpath query (or css if default is changed)
  • map -> converts to :xpath or :css query or map query
Return query for `q` for `driver`.

Conversion depends on type of `q`.
- keyword -> converts to search on element id for q`
- string -> converts to xpath query (or css if default is changed)
- map -> converts to :xpath or :css query or map query
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close