Public Vars

Back

screenshot-element (clj)

(source)

multimethod

(screenshot-element driver q file)
Have `driver` save a PNG format screenshot of the element found by query `q` to `file`. See [[query]] for details on `q`. `file` can be either a string or `java.io.File`, any missing parent directories are automatically created.

Examples