mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-19 14:09:31 +08:00
refactor: move hrp/ to root folder
This commit is contained in:
15
pkg/uixt/input.go
Normal file
15
pkg/uixt/input.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package uixt
|
||||
|
||||
import (
|
||||
"github.com/pkg/errors"
|
||||
|
||||
"github.com/httprunner/httprunner/v5/code"
|
||||
)
|
||||
|
||||
func (dExt *DriverExt) Input(text string) (err error) {
|
||||
err = dExt.Driver.Input(text)
|
||||
if err != nil {
|
||||
return errors.Wrap(code.MobileUIInputError, err.Error())
|
||||
}
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user