change: update function optional parameters to DataOptions

This commit is contained in:
xucong.053
2022-10-16 23:31:13 +08:00
parent c56794d6c1
commit bb7674c960
13 changed files with 149 additions and 150 deletions

View File

@@ -443,7 +443,7 @@ func Test_remoteWD_TouchAndHold(t *testing.T) {
func Test_remoteWD_Drag(t *testing.T) {
setup(t)
// err := driver.Drag(200, 300, 200, 500, WithPressDuration(0.5))
// err := driver.Drag(200, 300, 200, 500, WithPressDurationOption(0.5))
err := driver.Swipe(200, 300, 200, 500)
if err != nil {
t.Fatal(err)