mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-11 18:11:21 +08:00
change: wait 3s for live loading
This commit is contained in:
@@ -239,6 +239,8 @@ func (dExt *DriverExt) VideoCrawler(configs *VideoCrawlerConfigs) (err error) {
|
||||
crawler.LiveCount++
|
||||
log.Info().Interface("video", currentVideo).Msg(FOUND_LIVE_SUCCESS)
|
||||
|
||||
// wait 3s for live loading
|
||||
time.Sleep(3 * time.Second)
|
||||
// take screenshot and get screen texts by OCR
|
||||
screenResult, err := crawler.driverExt.GetScreenResult(
|
||||
WithScreenShotOCR(true),
|
||||
|
||||
Reference in New Issue
Block a user