I am using WebdriverIO and I want to scroll to an element.
But no matter if I'm using
browser.scroll(0,yLocation) it will always scroll to the top of the page.
Is it possible there is a problem if the page itself has some auto-scrolling?
The answer to this question helps for one of my elements which is at the bottom of the page, but I haven't been able to find a way to scroll to the element in the middle of the page.