Skip to main content
DemoZalo 0862020654

Interaction

Scroll Element

Scroll an element or the page

Block type: element-scroll

The Scroll Element block’s settings panel in the workflow editor.
The block’s settings, as they appear in the editor.

Inputs

NameTypeDefaultDescription
disableBlockbooleanfalseDisable this block
descriptionstring—Node description
findByselectcssSelectorSelector type
cssSelectorxpath
selectorrequiredstring—CSS selector or XPath
waitForSelectorbooleanfalseWait for selector to appear
waitSelectorTimeoutnumber5000Selector wait timeout (ms)
markElbooleanfalseHighlight element
multiplebooleanfalseSelect multiple elements
scrollYnumber0Vertical scroll (px)
scrollXnumber0Horizontal scroll (px)
incYbooleanfalseIncrement vertical scroll
incXbooleanfalseIncrement horizontal scroll
smoothbooleanfalseSmooth scrolling
scrollIntoViewbooleanfalseScroll element into view

Outputs

  • scrollXstring

    Horizontal scroll position after scrolling

  • scrollYstring

    Vertical scroll position after scrolling