I want to enable the Comment Box in Youtube for which I need to scroll down.
Here is what I am doing right now:-
from selenium import webdriver
driver = webdriver.Chrome()
driver.get("https://www.youtube.com/watch?v=l5LfjYmNEJs&t=160s")
driver.execute_script("window.scrollTo(0, document.body.scrollHeight);")
But it will only scroll down just a little bit but not down enough to enable the comment box.
What should I do?