Skip to content
This repository was archived by the owner on Aug 30, 2020. It is now read-only.

Commit ac1162f

Browse files
committed
add wait, has to modify runner.go in chromedp pkg
1 parent 379a8f9 commit ac1162f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

trackers/chrome_tracker.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,7 @@ func ChromeTracker(url, xpath *string) (string, bool) {
6868
log.Fatal(err)
6969
}
7070

71+
c.Wait()
72+
7173
return strings.TrimSpace(res), true
7274
}

0 commit comments

Comments
 (0)