mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-06 20:32:44 +08:00
fix: update input interaction endpoint in WDADriver to use new URL
This commit is contained in:
@@ -1 +1 @@
|
||||
v5.0.0-beta-2506261730
|
||||
v5.0.0-beta-2506261907
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user