Public Vars

Back

screenshot (clj)

(source)

function

(screenshot driver file)
Have `driver` save a PNG format screenshot of the current page to `file`. Throws if screenshot is empty. `file` can be either a string or `java.io.File`, any missing parent directories are automatically created. https://www.w3.org/TR/webdriver2/#dfn-take-screenshot

Examples