Public Vars

Back

scroll-query (clj)

(source)

function

(scroll-query driver q) (scroll-query driver q param)
Have `driver` scroll to the element found by query `q`. See [[query]] for details on `q`. Invokes element's `.scrollIntoView()` method. Accepts extra `param` argument that might be either boolean or object for more control. See [Mozilla's docs for values](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView).

Examples