From fa34cd9a8fad85b846a26739da005aac39f42f7b Mon Sep 17 00:00:00 2001 From: "lilong.129" Date: Fri, 22 Sep 2023 11:11:54 +0800 Subject: [PATCH] change: handle live popup --- hrp/pkg/uixt/video_crawler.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/hrp/pkg/uixt/video_crawler.go b/hrp/pkg/uixt/video_crawler.go index 1f6a2905..0c51b8f8 100644 --- a/hrp/pkg/uixt/video_crawler.go +++ b/hrp/pkg/uixt/video_crawler.go @@ -242,17 +242,12 @@ func (dExt *DriverExt) VideoCrawler(configs *VideoCrawlerConfigs) (err error) { WithScreenShotOCR(true), WithScreenShotUpload(true), WithScreenShotLiveType(true), - WithScreenShotClosePopups(true), ) if err != nil { log.Error().Err(err).Msg("get screen result failed") time.Sleep(3 * time.Second) continue } - if e := crawler.driverExt.tapPopupHandler(screenResult.Popup); e != nil { - log.Error().Err(e).Msg("close live popup failed") - continue - } // add live type if screenResult.imageResult != nil &&