1from selenium import webdriver
2from selenium.webdriver.chrome.options import Options
3
4#--| Setup
5options = Options()
6options.add_argument("--headless")
7#options.add_argument("--window-size=1980,1020")
8browser = webdriver.Chrome(executable_path=r'C:\cmder\bin\chromedriver.exe', options=options)
9#--| Parse or automation
10url = "https://www.youtube.com/channel/UCwTrHPEglCkDz54iSg9ss9Q/videos"
11browser.get(url)
12title = browser.find_elements_by_css_selector('#text-container')[0]
13print(title.text)
14