scrollTo

open suspend override fun scrollTo(scrollX: Double, scrollY: Double, speed: Int?)

Scrolls the page naturally using CDP's synthesizeScrollGesture (P3 - Anti-detection). This creates smooth, human-like scrolling instead of instant jumps.

Parameters

scrollX

The horizontal distance to scroll in pixels (positive scrolls right, negative scrolls left)

scrollY

The vertical distance to scroll in pixels (positive scrolls down, negative scrolls up)

speed

Swipe speed in pixels per second. If null, uses random variation between 600-1200 for natural behavior