Selenium webdriver obtenga atributo ruby

element.attribute("attribute name")
Lioruby