Skip to content

scrollDown()

Scrolls down the page/element.

Examples

await scrollDown()
await scrollDown(1000)
await scrollDown('Element containing text')
await scrollDown('Element containing text', 1000)

Parameters

Name Type Description
e selector | string | number Default: 'Window'.
px number Accept px in pixels Default: 100.

Returns

Type Description
Promise<void>