Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to get the link of an image in selenium python

from selenium import webdriver
from selenium.webdriver.common.by import By

image = driver.find_element(By.XPATH, value='//*[@id="app"]/div/div/div[2]/div[1]/div[1]/img')

print(image.get_attribute("scr"))
 
PREVIOUS NEXT
Tagged: #link #image #selenium #python
ADD COMMENT
Topic
Name
4+8 =