refactor: ScreenRecord

This commit is contained in:
lilong.129
2025-02-11 16:06:26 +08:00
parent 040e2fa06f
commit 804a2cd90f
8 changed files with 13 additions and 26 deletions

View File

@@ -393,7 +393,7 @@ func TestTapTexts(t *testing.T) {
func TestRecordVideo(t *testing.T) {
setupAndroidAdbDriver(t)
path, err := driverExt.ScreenRecord("", 5*time.Second)
path, err := driverExt.ScreenRecord(5 * time.Second)
if err != nil {
t.Fatal(err)
}