web scraping - ScrollIntoView is not working - Selenium - Python - Stack Overflow

admin2025-04-16  4

I'm working on a Web Scrapping project and need to use Selenium to scroll the browser window to a graph and get information from it. But my browser window doesn't scroll to that graph when I use ScrollIntoView.

I've try asking chatgpt, googling but don't have any solution or answer, someone help me plss!!

Oh, and I find that the graph (canvas html tag) inside an iframe which like: iframe frameborder="0" width="840" height="473" scrolling="no" src="" allowfullscreen=""> is scrolling=no mean that i can't use ScrollIntoView? ( i can use scrollby() )

website url: this is a vietnamese selling apartment website. I want to scroll to this graph: image

转载请注明原文地址:http://anycun.com/QandA/1744798686a87775.html