Selenium webdriver obtenha atributo ruby

element.attribute("attribute name")
Lioruby