mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-02 14:29:44 +08:00
update: android douyin demo
This commit is contained in:
@@ -304,7 +304,7 @@ func (dExt *DriverExt) IsImageExist(text string) bool {
|
||||
var errActionNotImplemented = errors.New("UI action not implemented")
|
||||
|
||||
func (dExt *DriverExt) DoAction(action MobileAction) error {
|
||||
log.Info().Str("method", string(action.Method)).Interface("params", action.Params).Msg("start iOS UI action")
|
||||
log.Info().Str("method", string(action.Method)).Interface("params", action.Params).Msg("start UI action")
|
||||
|
||||
switch action.Method {
|
||||
case AppInstall:
|
||||
|
||||
@@ -240,7 +240,7 @@ func (dExt *DriverExt) StartLogRecording(identifier string) error {
|
||||
}
|
||||
|
||||
func (dExt *DriverExt) GetLogs() (interface{}, error) {
|
||||
log.Info().Msg("stop WDA log recording")
|
||||
log.Info().Msg("stop log recording")
|
||||
if _, ok := dExt.Driver.(*wdaDriver); ok {
|
||||
data := map[string]interface{}{"action": "stop"}
|
||||
reply, err := dExt.triggerWDALog(data)
|
||||
|
||||
Reference in New Issue
Block a user