diff --git a/HACKING.md b/HACKING.md
index fa3ba6b9033dc320c7d2d01d32d3ea00bcde86cd..2681d894670ac35f79af5648998d7629e25aaa44 100644
--- a/HACKING.md
+++ b/HACKING.md
@@ -61,6 +61,15 @@ quicker. In `RendezvousConstants`, change
 to something lower such as
 `long POLLING_INTERVAL_MS = SECONDS.toMillis(10);`.
 
+## Creating screenshots automatically
+
+You can create screenshots automatically from the command line by calling this:
+
+    ./gradlew cleanAutomatedScreenshots automatedScreenshots
+
+It's also possible to run that from the IDE. Navigate to the `ScreenshotTest`
+file and run any test from there.
+
 ## Updating Copyright headers
 
 In IntelliJ, right click the root of the project tree and select
diff --git a/briar-desktop/build.gradle.kts b/briar-desktop/build.gradle.kts
index aa93711934b897338015c2633798e370d2d064fa..094b167067e580f3b50b3c5d38d11eea32c202b4 100644
--- a/briar-desktop/build.gradle.kts
+++ b/briar-desktop/build.gradle.kts
@@ -153,6 +153,8 @@ configurations["automatedScreenshotsImplementation"].extendsFrom(configurations.
 configurations["automatedScreenshotsRuntimeOnly"].extendsFrom(configurations.testRuntimeOnly.get())
 
 task<Test>("automatedScreenshots") {
+    group = "documentation"
+    description = "Creates screenshots of the app automatically."
     testClassesDirs = sourceSets["automatedScreenshots"].output.classesDirs
     classpath = sourceSets["automatedScreenshots"].runtimeClasspath
 }