fix: update input interaction endpoint in WDADriver to use new URL

This commit is contained in:
lilong.129
2025-06-26 19:06:59 +08:00
parent 1923996f65
commit 32d2f7d27d
2 changed files with 2 additions and 2 deletions

View File

@@ -1 +1 @@
v5.0.0-beta-2506261730
v5.0.0-beta-2506261907

View File

@@ -665,7 +665,7 @@ func (wd *WDADriver) Input(text string, opts ...option.ActionOption) (err error)
// [[FBRoute POST:@"/wda/keys"] respondWithTarget:self action:@selector(handleKeys:)]
data := map[string]interface{}{"value": strings.Split(text, "")}
option.MergeOptions(data, opts...)
_, err = wd.Session.POST(data, "/gtf/interaction/input")
_, err = wd.Session.POST(data, "/wings/interaction/keys")
return
}