I have an button on my page that is visible when the user scrolls down. Because of this, protractor tests give me an error:
UnknownError: unknown erro
I found an easier way. If you want to scroll to an element you can use
browser.actions().mouseMove(element).perform();
After that the browser will be focusing the element.