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. You can use it when you want to interact directly with a Playwright locator, check https://playwright.dev/java/docs/api/class-locator.

Like `query`, but returns a locator instead of a `SeqableLocator`.
You can use it when you want to interact directly with a Playwright locator,
check https://playwright.dev/java/docs/api/class-locator.
raw docstring

all-text-contentsclj

(all-text-contents q)

Find all text contents for a query. It returns a vector as a query may contain multiple matches.

Find all text contents for a query. It returns a vector as a query
may contain multiple matches.
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-contentclj

(text-content q)

Find one text content for a query. It's like all-text-contents, but it returns only one match and throws an exceptions if there is more than one element matching.

It returns nil if no match is found.

Find one text content for a query. It's like `all-text-contents`, but
it returns only one match and throws an exceptions if there is more than
one element matching.

It returns `nil` if no match is found.
raw docstring

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