I'm a beginner for selenium. I want to know how to inspect the quality of a video like(144p,240p,720p..) in settings button in youtube playback.
Press f12 and right click on the element you want to select, select copy xpath. Following is the xpath for the settings option and child it has respectively
//*[@id="movie_player"]/div[25]/div[2]/div[2]/button[3]
document.querySelector("#ytp-id-21")