Currently, I am utilizing the JavaScript API for selenium-webdriver and my goal is to scroll/move down a page in a gradual manner to facilitate visual inspection.
Although I am aware that the code below will direct me immediately to a link at the end of the page:
return driver.findElement({linkText: 'All rights reserved'}).click()
Nevertheless, I would prefer to go through the content on the page incrementally while observing how selenium is performing its actions.
Is there a way to scroll gradually through the page? (for example, 10%, 20%, 30% etc.). Alternatively, is there another method to achieve a "slow scroll" effectively?