Hi! i take screenshots with webdriver locally moving to element with: "element.location_once_scrolled_into_view", but when i try it on pythonanywhere it doesn't move. I use chromedriver, i need to solve it. Thanks!
Hi! i take screenshots with webdriver locally moving to element with: "element.location_once_scrolled_into_view", but when i try it on pythonanywhere it doesn't move. I use chromedriver, i need to solve it. Thanks!
Have you tried pausing after using location_once_scrolled_into_view
? Perhaps the scrolling has just not happened yet. There are also other ways of scrolling elements into view: https://stackoverflow.com/questions/39066399/selenium-webdriver-with-python-on-chrome-scroll-to-the-exact-middle-of-an-elem
Thanks i fix it with the url you send :D
Glad to hear that you made it work!