Skip to content

Commit a49f98e

Browse files
committed
io.appium.settings: recording: Update readme for new arguments
Signed-off-by: sirmordred <[email protected]>
1 parent afa8fbc commit a49f98e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,9 +333,14 @@ adb shell appops set io.appium.settings PROJECT_MEDIA allow
333333

334334
Start Recording:
335335
```bash
336-
adb shell am start -n "io.appium.settings/io.appium.settings.Settings" -a io.appium.settings.recording.ACTION_START --es "recording_filename" "abc.mp4"
336+
adb shell am start -n "io.appium.settings/io.appium.settings.Settings" -a io.appium.settings.recording.ACTION_START --es "recording_filename" "abc.mp4" --es "recording_priority" 0 --es "recording_max_duration" 900
337337
```
338338

339+
### Arguments (see above start command as an example for giving arguments)
340+
- recording_filename (Mandatory) - You can type recording video file name as you want, but recording currently supports only "mp4" format so your filename must end with ".mp4"
341+
- recording_priority (Optional) - Default value: 0 which means recording thread priority is Maximum hovewer if you face performance drops during testing with recording enabled, you can reduce recording priority to 2 - Normal or 1 - Minimum
342+
- recording_max_duration (Optional) - Default value: 900 which means maximum allowed duration is 15 minute, you can increase it if your test takes longer than that
343+
339344
Stop Recording:
340345
```bash
341346
adb shell am start -n "io.appium.settings/io.appium.settings.Settings" -a io.appium.settings.recording.ACTION_STOP

0 commit comments

Comments
 (0)