void cleanReportGroupDir()

in module/geb-core/src/main/groovy/geb/Browser.groovy [902:909]


    void cleanReportGroupDir() {
        def dir = getReportGroupDir()
        if (dir != null) {
            if (dir.exists() && !dir.deleteDir()) {
                throw new IllegalStateException("Could not clean report dir '${dir}'")
            }
        }
    }