Taiko
Documentation

Home / API Reference

scrollLeft

Scrolls the page/element to the left.

Examples

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

Parameters


e
Default value
'Window'

px

Accept px in pixels


Returns

Promise