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

@@ -433,7 +433,7 @@ func Test_remoteWD_AccessibleSource(t *testing.T) {
func TestRecord(t *testing.T) {
setup(t)
path, err := driver.ScreenRecord("", 5*time.Second)
path, err := driver.ScreenRecord(5 * time.Second)
if err != nil {
t.Fatal(err)
}