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')
Dima Drop