Created
October 4, 2010 13:01
-
-
Save carlosantoniodasilva/609651 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rack-test | |
p find("#lst-servicos-proximos li:eq(1)").text | |
"\n \n LINCES LINCES BLUMENAURUA MARECHAL DEODORO, , 397, BLUMENAU, SC(47) 3035-4455\n \n 63,28 km\n \n \n \n \n | |
p find("#lst-servicos-proximos li:eq(1)").native.class | |
Nokogiri::XML::Element | |
# Selenium | |
p find("#lst-servicos-proximos li:eq(1)").text | |
"LINCES LINCES BLUMENAU RUA MARECHAL DEODORO, , 397, BLUMENAU, SC (47) 3035-4455\n63,28 km\ntraçar rota" | |
p find("#lst-servicos-proximos li:eq(1)").native.class | |
Selenium::WebDriver::Element |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment