You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -176,10 +176,12 @@ Default value: null
176
176
Destination directory to write the viewport screenshots to. It will be created if it does not exist. Default value is `null`, which means, that no screenshots will be written out.
177
177
178
178
#### fileNumbering
179
-
Type: `Booolean`
179
+
Type: `Booolean`|`String`
180
180
Default value: `false`
181
181
182
-
Enables prefixing names of snapshot and screenshot files with their index number, for example: "002.google-input.html".
182
+
If set to `true`, enables prefixing names of snapshot and screenshot files with their index number, for example: "002.google-input.html". Every occurrence of the `file` instruction increases the file count.
183
+
184
+
If set to "per-directory", the index number will be increased separately per sub-directory with snapshots. If the value of the `file` instruction contains a slash, it will put the snapshot to a sub-directory, which may be useful to organize many snapshots created by multiple tasks.
0 commit comments