Skip to content

Instantly share code, notes, and snippets.

@carlosantoniodasilva
Created October 4, 2010 13:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carlosantoniodasilva/609651 to your computer and use it in GitHub Desktop.
Save carlosantoniodasilva/609651 to your computer and use it in GitHub Desktop.
# 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