feat: android swipe and tap with duration

This commit is contained in:
余泓铮
2024-04-09 17:03:50 +08:00
parent 58a905328b
commit e011741d6b
2 changed files with 22 additions and 3 deletions

View File

@@ -206,7 +206,7 @@ func TestDriver_Swipe(t *testing.T) {
t.Fatal(err)
}
err = driver.Swipe(400, 1000, 400, 500)
err = driver.Swipe(400, 1000, 400, 500, WithPressDuration(2000))
if err != nil {
t.Fatal(err)
}