rebasing
This commit is contained in:
13
runner/scroll.go
Normal file
13
runner/scroll.go
Normal 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()
|
||||
}
|
||||
Reference in New Issue
Block a user