feat: support live end to end delay collection

This commit is contained in:
buyuxiang
2023-10-27 18:05:17 +08:00
parent f1b51a8c62
commit 81d1fd7da0
7 changed files with 395 additions and 1 deletions
+4
View File
@@ -59,6 +59,7 @@ const (
ACTION_SwipeToTapTexts ActionMethod = "swipe_to_tap_texts" // swipe up & down to find text and tap
ACTION_VideoCrawler ActionMethod = "video_crawler"
ACTION_ClosePopups ActionMethod = "close_popups"
ACTION_EndToEndDelay ActionMethod = "live_e2e"
)
type MobileAction struct {
@@ -685,6 +686,9 @@ func (dExt *DriverExt) DoAction(action MobileAction) (err error) {
return dExt.VideoCrawler(configs)
case ACTION_ClosePopups:
return dExt.ClosePopups(action.GetOptions()...)
case ACTION_EndToEndDelay:
dExt.CollectEndToEndDelay(action.GetOptions()...)
return nil
}
return nil
}