I am using selenium for testing functionality of website.
I need to execute script for scrolling infinite table to the end, and after get data with Selenium.
I know about move_to_element but it isn't work always correctly, that's why I need to use javascript.
An example of infinite scroll table: https://codepen.io/regchiu/pen/PMpmBK