Tried extracting the href from:
<a lang="en" class="new class" href="/abc/stack.com"
tabindex="-1" data-type="itemTitles"><span><mark>Scott</mark>, CC042<br></span></a>
using elems = driver.find_elements_by_css_selector(".new class [href]")
, but doesn't seem to work.
Also tried Python Selenium - get href value, but it returned an empty list.
So I want to extract all the href elements of class = "new class" as mentioned above and append them in a list
Thanks!!