Liking cljdoc? Tell your friends :D

wally.main


*opts*clj


*page*clj


-queryclj

(-query q)

Like query, but returns a locator instead of a SeqableLocator, it's usually used inside the default defcommands.

Like `query`, but returns a locator instead of a `SeqableLocator`,
it's usually used inside the default `defcommands`.
raw docstring

clickclj

(click q)

count*clj

(count* locator)

defcommandcljmacro

(defcommand name doc-string? [params*] body)

Like defn, but adds some extra properties to the function relevant to Wally commands.

Like `defn`, but adds some extra properties to the function relevant
to Wally commands.
raw docstring

download-fileclj

(download-file q)

fillclj

(fill q value)

fill-manyclj

(fill-many coll)

find-one-by-textclj

(find-one-by-text q text)

get-pageclj

(get-page)

go-backclj

(go-back)

in-viewport?clj

(in-viewport? q)
Check that element is in viewport.

See https://playwright.dev/java/docs/api/class-locatorassertions#locator-assertions-to-be-in-viewport.
raw docstring

keyboard-pressclj

(keyboard-press key)

Press keyboard.

See https://playwright.dev/docs/api/class-keyboard.

E.g. (keyboard-press "Enter")

Press keyboard.

See https://playwright.dev/docs/api/class-keyboard.

E.g. `(keyboard-press "Enter")`
raw docstring

Locatorcljprotocol

-locatorclj

(-locator _)

make-pageclj

(make-page)
(make-page {:keys [headless] :or {headless false}})

(navigate url)

parse-json-stringclj

(parse-json-string s)

queryclj

(query q)

query->selectorclj

(query->selector q)

refreshclj

(refresh)

selectclj

(select q option)

Possible values for options are

  • string
  • {:index n}
  • {:label "..."}
Possible values for options are
- string
- {:index n}
- {:label "..."}
raw docstring

text-contentsclj

(text-contents locator)

upload-fileclj

(upload-file q file-path)

urlclj

(url)

user-data-dirclj

Folder for the browser.

Folder for the browser.
raw docstring

visible?clj

(visible? q)

waitclj

(wait q)

wait-forclj

(wait-for q)
(wait-for q {:keys [state timeout]})

state may be :hidden, :visible, :attached or :detached, defaults to :visible. timeout is in milliseconds, defaults to the page timeout.

See https://playwright.dev/java/docs/api/class-page#page-wait-for-selector for more context.

`state` may be :hidden, :visible, :attached or :detached, defaults to `:visible`.
`timeout` is in milliseconds, defaults to the page timeout.

See https://playwright.dev/java/docs/api/class-page#page-wait-for-selector for more
context. 
raw docstring

wait-for-responseclj

(wait-for-response match)

Returns response.

Returns response.
raw docstring

with-optscljmacro

(with-opts opts & body)

with-pagecljmacro

(with-page page & body)

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

× close