Skip to content

scrollRight()

Scrolls the page/element to the right.

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