I am trying to extract the title, duration and the link of all the videos that a YT channel has. I used selenium and python in the following way:

```
import time
from selenium import webdriver
from selenium.webdriver.common.keys import Keys

driver = webdriver.Chrome()

results = []

url = "https://www.youtube.com/channel/<channel name>/videos"

driver.get(url)

ht=driver.execute_script("return document.documentElement.scrollHeight;")
while True:
    prev_ht=driver.execute_script("return document.documentElement.scrollHeight;")
    driver.execute_script("window.scrollTo(0, document.documentElement.scrollHeight);")
    time.sleep(2)
    ht=driver.execute_script("return document.documentElement.scrollHeight;")
    if prev_ht==ht:
        break

links=driver.find_elements_by_xpath('//*[@class="style-scope ytd-grid-renderer"]')
for link in links:
    print()
    print(link.get_attribute("href"), link.get_attribute("text"))

```

When I try to get the duration of the video using `class="style-scope ytd-thumbnail-overlay-time-status-renderer"` class, the driver returns that the element doesn't exist. I managed the got the other two features though.