human
selenium how to get the content of href within some targeted class
assistant
Here is some code to get the content of child tag with`href` attribute whose parent has css `someclass`

self.driver.find_element_by_css_selector('.someclass a').get_attribute('href')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.