etaoin.ide.flow

Flow stuff (if/else, for/while/repeat, etc).

execute-branch

(execute-branch driver {:keys [this branch]} opt)

execute-cmd-with-open-window

(execute-cmd-with-open-window driver {:keys [windowHandleName windowTimeout], :as cmd} {vars :vars, :as opt})

execute-commands

(execute-commands driver commands opt)

execute-do

(execute-do driver {:keys [this branch repeat-if]} opt)

execute-for-each

(execute-for-each driver {:keys [this branch end]} {vars :vars, :as opt})

execute-if

(execute-if driver {:keys [if else-if else end]} opt)

execute-times

(execute-times driver {:keys [this branch end]} opt)

execute-while

(execute-while driver {:keys [this branch end]} opt)

find-tests

(find-tests {:keys [test-id test-ids suite-id suite-ids test-name suite-name test-names suite-names]} {:keys [tests], :as parsed-file})

get-tests-by-suite-id

(get-tests-by-suite-id suite-id id {:keys [suites tests]})

run-ide-script

(run-ide-script driver source & [opt])
Run a Selenium IDE file.

Arguments:

- `driver`: a driver instance;

- `source`: either a file path, or an `io/file`, or an `io/resource`;

- `opt`: a map of optional parameters:

-- `:test-...` and `:suite-...` (`id`, `ids`, `name`, `names`)
    are used for selection of specific tests. When not passed,
    all the tests get run;

-- `:base-url` the URL of the main page from which the tests start.
    Use it override the default URL from an IDE file.

run-ide-test

(run-ide-test driver {:keys [commands]} & [opt])