README.md in snapshot-1.7.0 vs README.md in snapshot-1.8.0
- old
+ new
@@ -205,10 +205,16 @@
```sh
snapshot --number_of_retries 3
```
+Add photos and/or videos to the simulator before running `snapshot`
+
+```sh
+snapshot --add_photos MyTestApp/Assets/demo.jpg --add_videos MyTestApp/Assets/demo.mp4
+```
+
For a list for all available options run
```sh
snapshot --help
```
@@ -246,9 +252,12 @@
# The directory in which the screenshots should be stored
output_directory './screenshots'
clear_previous_screenshots true
+
+add_photos ["MyTestApp/Assets/demo.jpg"]
+
```
### Completely reset all simulators
You can run this command in the terminal to delete and re-create all iOS simulators: