Posts by Carlos Eduardo Melo • 1 point
1 post
-
0
votes0
answers173
viewsQ: How to get the <span> text? but when you have an <img> in that <span> error!
The following code picks up the span, but if he has a img presents an error. user = driver.find_element_by_xpath('//span[@title = "{}"]'.format(names)) user.click() My system picks up the title of…