await Element.scrollIntoView()

bramus 0 27 0
Open on CodePen More by bramus