replace manual nokogiri parsing by raw capybara