mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-08 18:32:06 +08:00
fix: screen record duration
This commit is contained in:
@@ -792,6 +792,9 @@ func (ad *ADBDriver) ScreenRecord(opts ...option.ActionOption) (videoPath string
|
||||
}
|
||||
|
||||
duration := options.ScreenRecordDuration
|
||||
if duration == 0 {
|
||||
duration = options.Duration
|
||||
}
|
||||
audioOn := options.ScreenRecordWithAudio
|
||||
|
||||
// get android system version
|
||||
|
||||
Reference in New Issue
Block a user