diff --git a/hrp/pkg/uixt/popups.go b/hrp/pkg/uixt/popups.go index 87d078d3..ed8545a1 100644 --- a/hrp/pkg/uixt/popups.go +++ b/hrp/pkg/uixt/popups.go @@ -108,6 +108,7 @@ func (dExt *DriverExt) ClosePopups(options ...ActionOption) error { } func (dExt *DriverExt) ClosePopupsHandler(options ...ActionOption) error { + log.Info().Msg("try to find and close popups") actionOptions := NewActionOptions(options...) maxRetryTimes := actionOptions.MaxRetryTimes interval := actionOptions.Interval diff --git a/hrp/pkg/uixt/video_crawler.go b/hrp/pkg/uixt/video_crawler.go index 349a2f96..d67e87d8 100644 --- a/hrp/pkg/uixt/video_crawler.go +++ b/hrp/pkg/uixt/video_crawler.go @@ -321,6 +321,7 @@ func (dExt *DriverExt) VideoCrawler(configs *VideoCrawlerConfigs) (err error) { if feedVideo.VideoID == crawler.lastFeed.VideoID { // app event tracking not changed // check and handle popups + log.Warn().Msg("feed video event tracking not changed") if err = crawler.driverExt.ClosePopupsHandler(WithMaxRetryTimes(1)); err != nil { return err }