etaoin.ide.api

Common Selenium IDE implementation.
https://www.selenium.dev/selenium-ide/docs/en/api/commands

absolute-path?

(absolute-path? path)

dispatch-command

(dispatch-command driver command & [opt])

fill-str-with-vars

(fill-str-with-vars string vars)

gen-expession-script

(gen-expession-script script vars)

gen-script-arguments

(gen-script-arguments script vars)

gen-send-key-input

(gen-send-key-input input)

log-command-message

(log-command-message {:keys [command target value]})

make-absolute-url

(make-absolute-url base-url target)

make-assert-msg

(make-assert-msg command actual expected)

make-query

(make-query target)

run-command

multimethod

run-command-with-log

(run-command-with-log driver command & [opt])
A middleware wrapper on top of `run-command`.
Does the same but logs all the events & errors
if any occur.

special-keys

str->var

(str->var var)
Turn ${Foo} into Foo.