Public Vars

Back

query-from-shadow-root-el (clj)

(source)

function

(query-from-shadow-root-el driver shadow-root-el shadow-q)
Queries the shadow DOM rooted at `shadow-root-el`, looking for the first element specified by `shadow-q`. The `shadow-q` parameter is similar to the `q` parameter of the [[query]] function, but some drivers may limit it to specific formats (e.g., CSS). See [this note](/doc/01-user-guide.adoc#shadow-root-browser-limitations) for more information. Note that `shadow-q` does not support `query`'s `:active` keyword. https://www.w3.org/TR/webdriver2/#dfn-find-element-from-shadow-root

Examples