Im trying to scroll an element into view Using Execute Javascript since the keyword Scroll Element Into View Doesn't work for me. I tried:
Execute JavaScript document.querySelector("css selector").scrollDown += 6000
or
Execute JavaScript window.document.getElementsByClassName('id').scrollDown += 6000
or
Execute Javascript ${element}.scroll(0,6000)
or
Run Keyword And Ignore Error Scroll Element Into View ${category_cbox}
none of the above worked.
when I try
Execute Javascript window.scrollTo(0,6000) it scrolls the whole page which doesn't help