Skip to content
Sign upLog in
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
2

I'm trying to select the quality of the video through selenium

hvaandres
hvaandres

The problem here is that I already tried to select the following element with the following data: list = driver.find_elements_by_css_selector("vjs-menu-item amp-menu-item")
link[1].click().

However, this is not possible, and I would like to see if any of you have an idea of how to do it?

3 years ago

Voters

Comments

TopNew
1
ArjunSS1
ArjunSS1

Sorry for the late reply, I was wondering if you could try a xpath('//li [@class="vjs-menu-item"]') to pull all the list elements from the page or some configuration of xpath's //li?
Also unrelated question - How were you able to use selenium.webdriver on repl without turning your repl into a repl-pygame source?

3 years ago
Load more