2021年3月20日星期六

Scroll to the bottom of a web page on a element in selenium

How do you scroll on a scrolling element in Python Selenium? (not the page itself but some element where you can scroll)

For example, go here: here

Then hit enter a lot of times in the "answer" text box. You can see that it creates a scroll bar on the text box only. How do I scroll through that in Selenium?

https://stackoverflow.com/questions/66724317/scroll-to-the-bottom-of-a-web-page-on-a-element-in-selenium March 21, 2021 at 01:08AM

没有评论:

发表评论