Answers for "how to get attribute of web element in selenium python"

1

get attribute in selenium python

org = driver.find_element_by_xpath('//a[@class="cbtn--s"]')
    val = org.get_attribute("href")
Posted by: Guest on April-18-2021

Code answers related to "how to get attribute of web element in selenium python"

Python Answers by Framework

Browse Popular Code Answers by Language