python selenium find_element_by_ image by src code example Example: python selenium get image src driver.find_element_by_id("element_id").get_attribute("src")