puppeteer/website/versioned_docs/version-22.6.0/api/puppeteer.elementhandle.scrollintoview.md
release-please[bot] 4f9f060408
chore: release main (#12108)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-03-20 09:57:03 +01:00

653 B

sidebar_label
ElementHandle.scrollIntoView

ElementHandle.scrollIntoView() method

Scrolls the element into view using either the automation protocol client or by calling element.scrollIntoView.

Signature:

class ElementHandle {
  scrollIntoView(this: ElementHandle<Element>): Promise<void>;
}

Parameters

Parameter Type Description
this ElementHandle<Element>

Returns:

Promise<void>