Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

selenium python select elements data atribute

elements = driver.find_elements_by_class_name('bar')
for element in elements:
    print element.text
    print element.get_attribute('data-value')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #selenium #python #select #elements #data #atribute
ADD COMMENT
Topic
Name
2+9 =