from selenium import webdriver
fp = webdriver.FirefoxProfile('')
driver = webdriver.Firefox(firefox_profile=fp)
driver.set_window_size(1400, 1000)
driver.get('')
list_of_elements = driver.find_elements_by_css_selector('img[title]')
for ele in list_of_elements:
print ele
I'm trying to print out all the img src=' ' of images on a webpage, the above code is for css selector and works well but I would like to do the same thing but have the code print out the src links of the images. Basically what im trying to do is make a list of all elements on the webpage based on the src= and then I can search through the src= and find the one I want. Any help is appreciated thanks!