This commit is contained in:
2021-11-01 18:38:58 -05:00
commit 0d2d278260
19 changed files with 875 additions and 0 deletions

13
runner/scroll.go Normal file
View File

@@ -0,0 +1,13 @@
package runner
import (
_ "embed"
)
//go:embed js/scroll.js
var scroll string
func (r *Runner) Scroll(limit int, timeout int) {
r.page.MustEval(scroll, limit, timeout)
r.page.MustWaitLoad()
}