There is a button on my page which becomes visible when the user scrolls down. As a result, protractor tests give me an error:
UnknownError: unknown error: Element is not clickable at point (94, 188).
I tried this code:
browser.executeScript('window.scrollTo(0,document.body.scrollHeight)');
This actually worked in my protractor tests elementexplorer.js. But doesn't work in my regular tests. Any other way around this?