faet: add ScreenCap for gadb

This commit is contained in:
lilong.129
2023-04-13 22:48:40 +08:00
parent e35a11a25f
commit 639ae3e4f2
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ func TestScreenCap(t *testing.T) {
t.Error(err)
}
d := dl[0]
res, err := d.RunShellCommandV2WithBytes("screencap", "-p")
res, err := d.ScreenCap()
if err != nil {
t.Error(err)
}