Skip to content

scrollUp()

Scrolls up the page/element.

await scrollUp()
await scrollUp(1000)
await scrollUp('Element containing text')
await scrollUp('Element containing text', 1000)
NameTypeDescription
eselector | string | numberDefault: 'Window'.
pxnumberAccept px in pixels Default: 100.
TypeDescription
Promise<void>