update: android douyin demo

This commit is contained in:
xucong053
2022-09-28 14:36:00 +08:00
parent dd9cf7dc6e
commit 32027c3ef5
3 changed files with 12 additions and 5 deletions

View File

@@ -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:

View File

@@ -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)