Answers for "getattribute selenium pyhtonm"

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
0

get element attribute value using python selenium

element.get_attribute("attribute name")
Posted by: Guest on October-24-2021

Python Answers by Framework

Browse Popular Code Answers by Language