mirror of
https://github.com/httprunner/httprunner.git
synced 2026-08-25 10:10:14 +08:00
replace AutoPopupHandler with ClosePopupsHandler
This commit is contained in:
@@ -317,7 +317,7 @@ func (dExt *DriverExt) VideoCrawler(configs *VideoCrawlerConfigs) (err error) {
|
||||
if feedVideo.VideoID == crawler.lastFeed.VideoID {
|
||||
// app event tracking not changed
|
||||
// check and handle popups
|
||||
if err = crawler.driverExt.AutoPopupHandler(); err != nil {
|
||||
if err = crawler.driverExt.ClosePopupsHandler(WithMaxRetryTimes(1)); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user