Public Vars


upload-file (clj)



(upload-file driver q path)
Have `driver` attach a file `path` to a file input field element found by query `q`. Arguments: - `q` see [[query]] for details; - `file` - when a string or object, the file must exist locally. - when [[remote-file]] file is assumed to exist remotely and no local existence check is performed. Under the hood, we send the file's name as a sequence of keys to the input.