wen I apply the method Scroll to a whole window it works fine:
driver.execute_script("window.scrollTo(0, 1000);")
The problem is that I must apply it to a DIV so I get the Div and then apply Scroll like this:
myDiv = self.driver.find_elements(By.XPATH, '//div[contains(@class,"ODSEW-ShBeI NIyLF-haAclf gm2-body-2")]')
myDiv..execute_script("window.scrollTo(0, 1000);")
but it do nothing. Any idea?