I need to be able to scroll up and after that down to find some element with Selenium. I already saw many questions and answers, the main idea I found is self.web_
self.web_
You can do it with also getBoundingClientRect() and scrollTo()
getBoundingClientRect()
scrollTo()
self.web_driver.execute_script("coordinates = arguments[0].getBoundingClientRect();scrollTo(coordinates.x,coordinates.y);", element)
I tested and it goes up and down.