iconsgrid = driver.find_element(By.CLASS_NAME, "iif-icons--grid")
icons = iconsgrid.find_elements(By.XPATH, '//li/a/iconify-icon')
for e in icons:
#print(e.text) --- don't use text here - icons are not having any text
e.click() #click on element
download = driver.find_element(By.XPATH, "//a[text()='Download SVG']")
download.click() #click on Download SVG
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/553619e1-0af7-45b6-aca9-3dd1c72cba98n%40googlegroups.com.