Taiko
Documentation

Home / API Reference

scrollUp

Scrolls up the page/element.

Examples

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

Parameters


e
Default value
'Window'

px

Accept px in pixels


Returns

Promise<void>